diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1332333c02c5..0a8b59088f37 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1840,7 +1840,6 @@ with haskellLib; # PATH. deps = [ pkgs.git - pkgs.nix pkgs.nix-prefetch-git ]; in @@ -1854,7 +1853,9 @@ with haskellLib; wrapProgram "$out/bin/update-nix-fetchgit" --prefix 'PATH' ':' "${lib.makeBinPath deps}" ''; })) - (addTestToolDepends deps) + # pkgs.nix is not added to the wrapper since we can resonably expect it to be installed + # and we don't know which implementation the eventual user prefers + (addTestToolDepends (deps ++ [ pkgs.nix ])) # Patch for hnix compat. (appendPatches [ (fetchpatch {