direnv: fix indentation of generated scripts (#409550)

This commit is contained in:
Aleksana 2025-05-22 10:02:17 +08:00 committed by GitHub
commit 5e5f2b56c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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