nixos/java: No bashisms in environment.shellInit
script (#294121)
This commit is contained in:
commit
ac35b10480
@ -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
|
||||
'';
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user