nixpkgs-gnunet/README.md

34 lines
955 B
Markdown
Raw Normal View History

2018-11-14 18:02:43 +01:00
# Nixpgs overlay with GNUnet-related packages
This repository contains experimental packages related to [GNUnet](https://gnunet.org) for the Nix package manager. There exists a GNUnet package in the official nixpkgs repository but as GNUnet is still under heavy development, it is recommended to use a fairly recent version from the master branch of GNUnet's git repository.
# Installation
We can install the overlay into the user environment like this:
```shell
$ ln -s ~/.config/nixpkgs/overlays/gnunet-overlay.nix gnunet-overlay
```
Now we can install the packages using
```shell
$ nix-env -f '<nixpkgs>' -iA gnunet
```
To use the packages from the overlay system-wide (on NixOS) we can add this to our ``/etc/nixos/configuration.nix``:
```
{ config, pkgs, ... }:
{
...
nixpkgs.overlays = [
(import (fetchGit https://ulrich.earth/code/nixpkgs-gnunet))
];
environment.systemPackages = with pkgs; [
...
gnunet
];
...
}
```