gnunet: override src with gnunet.git input

This commit is contained in:
Astro 2019-12-03 00:43:37 +01:00
parent 3cb1134c39
commit 429bde6218
2 changed files with 6 additions and 3 deletions

View File

@ -2,8 +2,10 @@ let
pkgs = import <nixpkgs> { pkgs = import <nixpkgs> {
overlays = [ (import <nixpkgs-gnunet>) ]; overlays = [ (import <nixpkgs-gnunet>) ];
}; };
gnunet = pkgs.gnunet.overrideAttrs (_: {
src = <gnunet>;
});
in in
with pkgs;
{ {
gnunet = lib.hydraJob gnunet; gnunet = pkgs.lib.hydraJob gnunet;
} }

View File

@ -92,7 +92,8 @@ let
description = "gnu:net overlay"; description = "gnu:net overlay";
nixexprpath = "gnunet.nix"; nixexprpath = "gnunet.nix";
gitUrls = { gitUrls = {
nixpkgs-gnunet = "https://ulrich.earth/code/nixpkgs-gnunet/ master 1"; gnunet = "https://git.gnunet.org/gnunet.git master";
nixpkgs-gnunet = "https://ulrich.earth/code/nixpkgs-gnunet/ master";
}; };
}; };