Put nix-tools in nativeBuildInputs always
commit21fa09dfb63e667ca5a96c0e4fd4fde6a3b5402d
authorMichael Peyton Jones <michael.peyton-jones@iohk.io>
dateFri 13 Mar 2020, 15:27 (7 years ago)
parentad902f5
lib/stack-cache-generator.nix+2−2
@@ -38,7 +38,7 @@ let
3838 private = url: pkgs.lib.substring 0 4 url != "http";
3939
4040 repos = builtins.fromJSON (builtins.readFile (pkgs.runCommand "stack-repos" {
41− buildInputs = [ nix-tools ];
41+ nativeBuildInputs = [ nix-tools ];
4242 } ''
4343 TMP=$(mktemp -d)
4444 cd $TMP
@@ -50,7 +50,7 @@ let
5050 ''));
5151
5252 cabalName = path: builtins.readFile (pkgs.runCommand "cabal-name" {
53− buildInputs = [ nix-tools ];
53+ nativeBuildInputs = [ nix-tools ];
5454 } ''
5555 cabal-name ${path} > $out
5656 '');