mirror of
https://github.com/nix-community/nix-direnv.git
synced 2024-08-16 23:10:24 +03:00
drop min version checks for nix build
This commit is contained in:
parent
add18037af
commit
c951a47df0
@ -11,6 +11,11 @@ resholve.mkDerivation rec {
|
||||
name = pname;
|
||||
};
|
||||
|
||||
# drop min version checks which are redundant when built with nix
|
||||
postPatch = ''
|
||||
sed -i "/_require_version bash/,+2d" direnvrc
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -m400 -D direnvrc $out/share/${pname}/direnvrc
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user