mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
direnv: fix indentation of generated scripts (#409550)
This commit is contained in:
commit
5e5f2b56c6
1 changed files with 14 additions and 15 deletions
|
@ -132,8 +132,7 @@ in
|
|||
'';
|
||||
|
||||
fish.interactiveShellInit = lib.mkIf cfg.enableFishIntegration ''
|
||||
if ${lib.boolToString cfg.loadInNixShell};
|
||||
or printenv PATH | grep -vqc '/nix/store';
|
||||
if ${lib.boolToString cfg.loadInNixShell}; or printenv PATH | grep -vqc '/nix/store';
|
||||
${lib.getExe cfg.finalPackage} hook fish | source
|
||||
end
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue