direnv: fix indentation of generated scripts

This commit is contained in:
r-vdp 2025-05-21 23:11:12 +02:00
parent 6f9a8cf293
commit b7b2c7cb02
No known key found for this signature in database

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