diff options
author | Daniel Barlow <dan@telent.net> | 2018-06-29 23:16:39 +0000 |
---|---|---|
committer | Daniel Barlow <dan@telent.net> | 2018-06-29 23:22:24 +0000 |
commit | f9f6ddc083f2183f042bfcf1d0bba8e42b920110 (patch) | |
tree | 700b1b728f7620686f828eb9f7d4636a73535960 | |
parent | 85497a3b06ee7e333aaabcf6cdbcb163ae5dda99 (diff) | |
download | nixpkgs-f9f6ddc083f2183f042bfcf1d0bba8e42b920110.tar nixpkgs-f9f6ddc083f2183f042bfcf1d0bba8e42b920110.tar.gz nixpkgs-f9f6ddc083f2183f042bfcf1d0bba8e42b920110.tar.bz2 nixpkgs-f9f6ddc083f2183f042bfcf1d0bba8e42b920110.tar.lz nixpkgs-f9f6ddc083f2183f042bfcf1d0bba8e42b920110.tar.xz nixpkgs-f9f6ddc083f2183f042bfcf1d0bba8e42b920110.tar.zst nixpkgs-f9f6ddc083f2183f042bfcf1d0bba8e42b920110.zip |
make-closure needs build system mkdir and jq
Make make-closure work when cross-compiling
-rw-r--r-- | pkgs/build-support/closure-info.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/closure-info.nix b/pkgs/build-support/closure-info.nix index 58d70b4b063..28f2802a5bc 100644 --- a/pkgs/build-support/closure-info.nix +++ b/pkgs/build-support/closure-info.nix @@ -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" '' |