diff options
author | Peter Simons <simons@cryp.to> | 2015-12-06 15:04:14 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-12-06 15:06:02 +0100 |
commit | b89514eced6d32203982c54e0ad8c2f83dbca900 (patch) | |
tree | c8d9d1b49cf383dd03daf4cee5c15d6d300b52ac /pkgs/build-support | |
parent | b195abe0919a8cbd929385b1167432958493f3ee (diff) |
fetchgit: follow up to 2cf7069b7da368326b51520536ac0f1020157f7a
If "fetcher" is a string, then Nix will execute it with bash already, so the additional bash argument in that string was redundant and apparently causes trouble on non-Linux platforms. Hopefully fixes https://github.com/NixOS/nixpkgs/issues/11496.
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/fetchgit/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix index c73ee1935196e..127693d42f2a6 100644 --- a/pkgs/build-support/fetchgit/default.nix +++ b/pkgs/build-support/fetchgit/default.nix @@ -45,7 +45,7 @@ assert deepClone -> leaveDotGit; stdenv.mkDerivation { inherit name; builder = ./builder.sh; - fetcher = "${stdenv.shell} ${./nix-prefetch-git}"; + fetcher = "${./nix-prefetch-git}"; # This must be a string to ensure it's called with bash. buildInputs = [git]; outputHashAlgo = if sha256 == "" then "md5" else "sha256"; |