mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
drop min version checks for nix build
This commit is contained in:
parent
add18037af
commit
c951a47df0
1 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,11 @@ resholve.mkDerivation rec {
|
||||||
name = pname;
|
name = pname;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# drop min version checks which are redundant when built with nix
|
||||||
|
postPatch = ''
|
||||||
|
sed -i "/_require_version bash/,+2d" direnvrc
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -m400 -D direnvrc $out/share/${pname}/direnvrc
|
install -m400 -D direnvrc $out/share/${pname}/direnvrc
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue