Merge pull request #42794 from telent/make-closure-x

make-closure: needs build system mkdir and jq
This commit is contained in:
Matthew Bauer 2018-11-13 15:02:08 -06:00 committed by GitHub
commit 4b8c1d23d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
# "nix-store --load-db" and "nix-store --register-validity
# --hash-given".
{ stdenv, coreutils, jq }:
{ stdenv, coreutils, jq, buildPackages }:
{ rootPaths }:
@ -17,7 +17,7 @@ stdenv.mkDerivation {
exportReferencesGraph.closure = rootPaths;
PATH = "${coreutils}/bin:${jq}/bin";
PATH = "${buildPackages.coreutils}/bin:${buildPackages.jq}/bin";
builder = builtins.toFile "builder"
''