Skip to content

Commit

Permalink
[Backport release-24.05] nixos/java: No bashisms in `environment.shel…
Browse files Browse the repository at this point in the history
…lInit` script (#360633)
  • Loading branch information
tomodachi94 authored Dec 1, 2024
2 parents d634159 + ca59023 commit 7e1ca67
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 @@ -64,7 +64,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 7e1ca67

Please sign in to comment.