make-closure needs build system mkdir and jq
Make make-closure work when cross-compiling
This commit is contained in:
parent
85497a3b06
commit
f9f6ddc083
@ -4,7 +4,7 @@
|
|||||||
# "nix-store --load-db" and "nix-store --register-validity
|
# "nix-store --load-db" and "nix-store --register-validity
|
||||||
# --hash-given".
|
# --hash-given".
|
||||||
|
|
||||||
{ stdenv, coreutils, jq }:
|
{ stdenv, coreutils, jq, buildPackages }:
|
||||||
|
|
||||||
{ rootPaths }:
|
{ rootPaths }:
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
exportReferencesGraph.closure = rootPaths;
|
exportReferencesGraph.closure = rootPaths;
|
||||||
|
|
||||||
PATH = "${coreutils}/bin:${jq}/bin";
|
PATH = "${buildPackages.coreutils}/bin:${buildPackages.jq}/bin";
|
||||||
|
|
||||||
builder = builtins.toFile "builder"
|
builder = builtins.toFile "builder"
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user