mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
nix-direnv: Fix nix executable paths
Match the upstream change in:
991ea66bb8
This commit is contained in:
parent
ad4db3f4d8
commit
349b8cfd36
@ -15,9 +15,8 @@ stdenv.mkDerivation rec {
|
||||
# getting sourced, not executed:
|
||||
postPatch = ''
|
||||
substituteInPlace direnvrc \
|
||||
--replace "grep" "${gnugrep}/bin/grep" \
|
||||
--replace "nix-shell" "${nix}/bin/nix-shell" \
|
||||
--replace "nix-instantiate" "${nix}/bin/nix-instantiate"
|
||||
--replace "\''${NIX_BIN_PREFIX:-}" "\''${NIX_BIN_PREFIX:-${nix}/bin/}" \
|
||||
--replace "grep" "${gnugrep}/bin/grep"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user