treewide: Fixed output fetch* derivations should use nativeBuildInputs
This commit is contained in:
@@ -52,7 +52,7 @@ stdenv.mkDerivation {
|
||||
inherit name;
|
||||
builder = ./builder.sh;
|
||||
fetcher = "${./nix-prefetch-git}"; # This must be a string to ensure it's called with bash.
|
||||
buildInputs = [git];
|
||||
nativeBuildInputs = [git];
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
in builtins.toString sshConfigFile}'';
|
||||
|
||||
ssh-wrapped = runCommand "fetchgit-ssh" {
|
||||
buildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
} ''
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${openssh}/bin/ssh $out/bin/ssh --prefix PATH : "$out/bin" --add-flags "-F ${config}" "$@"
|
||||
|
||||
Reference in New Issue
Block a user