nixos/direnv: stop uneccesary build

This commit is contained in:
Gerg-L
2024-07-27 15:36:24 -04:00
parent 9183b7d82b
commit c6f73686d6

View File

@@ -102,13 +102,13 @@ in
else
[
#direnv has a fish library which sources direnv for some reason
(cfg.package.overrideAttrs (old: {
installPhase =
(old.installPhase or "")
+ ''
rm -rf $out/share/fish
'';
}))
(pkgs.symlinkJoin {
inherit (cfg.package) name;
paths = [ cfg.package ];
postBuild = ''
rm -rf $out/share/fish
'';
})
];
variables = {