Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
make-closure needs build system mkdir and jq
Browse files Browse the repository at this point in the history
Make make-closure work when cross-compiling
  • Loading branch information
telent committed Jun 29, 2018
1 parent 85497a3 commit f9f6ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/build-support/closure-info.nix
Expand Up @@ -4,7 +4,7 @@
# "nix-store --load-db" and "nix-store --register-validity
# --hash-given".

{ stdenv, coreutils, jq }:
{ stdenv, coreutils, jq, buildPackages }:

{ rootPaths }:

Expand All @@ -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"
''
Expand Down

0 comments on commit f9f6ddc

Please sign in to comment.