1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

direnv: fix the fish source

This is needed for the latest version of direnv. See
https://github.com/direnv/direnv/issues/742
This commit is contained in:
zimbatm 2020-12-31 00:22:47 +01:00 committed by Robert Helgesson
parent 3e218f2600
commit 118b36bf45
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -94,7 +94,7 @@ in {
'';
programs.fish.shellInit = mkIf cfg.enableFishIntegration ''
eval (${pkgs.direnv}/bin/direnv hook fish)
${pkgs.direnv}/bin/direnv hook fish | source
'';
};
}