drop min version checks for nix build

This commit is contained in:
Arthur Noel 2023-12-15 13:52:55 +00:00
parent add18037af
commit c951a47df0

View File

@ -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
'';