mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixos/java: No bashisms in environment.shellInit
script (#294121)
This commit is contained in:
commit
ac35b10480
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue