Skip to content

Commit

Permalink
nixos/java: No bashisms in environment.shellInit script (#294121)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 authored Dec 1, 2024
2 parents bf89f43 + 9692e2e commit ac35b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/programs/java.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';

};
Expand Down

0 comments on commit ac35b10

Please sign in to comment.