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
commit ac35b10480
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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