Unverified Commit ac35b104 authored by Tomodachi94's avatar Tomodachi94 Committed by GitHub
Browse files

nixos/java: No bashisms in `environment.shellInit` script (#294121)

parents bf89f433 9692e2e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
    '';

  };