Skip to content

Commit ac35b10

Browse files
authored
nixos/java: No bashisms in environment.shellInit script (#294121)
2 parents bf89f43 + 9692e2e commit ac35b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/programs/java.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ in
6767
environment.systemPackages = [ cfg.package ];
6868

6969
environment.shellInit = ''
70-
test -e ${cfg.package}/nix-support/setup-hook && source ${cfg.package}/nix-support/setup-hook
70+
test -e ${cfg.package}/nix-support/setup-hook && . ${cfg.package}/nix-support/setup-hook
7171
'';
7272

7373
};

0 commit comments

Comments
 (0)