nixos/java: No bashisms in environment.shellInit script (#294121)

This commit is contained in:
Tomodachi94
2024-11-30 17:19:13 -08:00
committed by GitHub

View File

@@ -67,7 +67,7 @@ in
environment.systemPackages = [ cfg.package ];
environment.shellInit = ''
test -e ${cfg.package}/nix-support/setup-hook && source ${cfg.package}/nix-support/setup-hook
test -e ${cfg.package}/nix-support/setup-hook && . ${cfg.package}/nix-support/setup-hook
'';
};