mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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
|
||||
# --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"
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user