git.iko.soy/typeable/nixpkgs
on master help sign in
nixUnstable: 2.0pre6137_e3cdcf89 -> 2.1pre6148_a4aac7f
commit48d9754d2b110ea4b5e7248b74eec52befcd136c authorShea Levy <shea@shealevy.com> dateTue 17 Apr 2018, 07:15 (9 years ago) parent192221a
1 file changed+13−7
pkgs/tools/package-management/nix/default.nix+13−7
pkgs/tools/package-management/nix/default.nix+13−7
@@ -95,16 +95,19 @@ let
9595 passthru = { inherit fromGit; };
9696 };
9797
98− perl-bindings = { nix }: stdenv.mkDerivation {
98+ perl-bindings = { nix, needsBoost ? false }: stdenv.mkDerivation {
9999 name = "nix-perl-" + nix.version;
100100
101101 inherit (nix) src;
102102
103103 postUnpack = "sourceRoot=$sourceRoot/perl";
104104
105+ # This is not cross-compile safe, don't have time to fix right now
106+ # but noting for future travellers.
105107 nativeBuildInputs =
106108 [ perl pkgconfig curl nix libsodium ]
107− ++ lib.optionals nix.fromGit [ autoreconfHook autoconf-archive ];
109+ ++ lib.optionals nix.fromGit [ autoreconfHook autoconf-archive ]
110+ ++ lib.optional needsBoost boost;
108111
109112 configureFlags =
110113 [ "--with-dbi=${perlPackages.DBI}/${perl.libPrefix}"
@@ -137,15 +140,18 @@ in rec {
137140 }) // { perl-bindings = perl-bindings { nix = nixStable; }; };
138141
139142 nixUnstable = (lib.lowPrio (common rec {
140− name = "nix-2.0${suffix}";
141− suffix = "pre6137_e3cdcf89";
143+ name = "nix-2.1${suffix}";
144+ suffix = "pre6148_a4aac7f";
142145 src = fetchFromGitHub {
143146 owner = "NixOS";
144147 repo = "nix";
145− rev = "e3cdcf89b0ef42f81c9df5899776ea225f1ecae0";
146− sha256 = "1s9w7ixc2qra3x9545f9a634654rvdqsf38jp9b7wr6xx6qqx60s";
148+ rev = "a4aac7f88c59c97299027c9668461c637bbc6a72";
149+ sha256 = "1250fg1rgzcd0qy960nhl2bw9hsc1a6pyz11rmxasr0h3j1a2z53";
147150 };
148151 fromGit = true;
149− })) // { perl-bindings = perl-bindings { nix = nixUnstable; }; };
152+ })) // { perl-bindings = perl-bindings {
153+ nix = nixUnstable;
154+ needsBoost = true;
155+ }; };
150156
151157}