Go to file
lurchi f4cd05656a update rev 2018-11-15 20:55:23 +01:00
pkgs update rev 2018-11-15 20:55:23 +01:00
README.md update README 2018-11-14 18:54:00 +01:00
default.nix initial commit 2018-11-14 18:02:43 +01:00

README.md

Nixpkgs overlay with GNUnet-related packages

This repository contains experimental packages related to GNUnet 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.

Currently the overlay provides these packages:

  • GNUnet itself
  • libgnurl

Installation

We can install the overlay into the user environment like this:

$ ln -s ~/.config/nixpkgs/overlays/gnunet-overlay.nix gnunet-overlay

Now we can install the packages using

$ 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
  ];
  ...
}