diff --git a/pkgs/development/tools/build-managers/gradle/update-deps.nix b/pkgs/development/tools/build-managers/gradle/update-deps.nix index 5d6222fb11c4..0b19a17429bd 100644 --- a/pkgs/development/tools/build-managers/gradle/update-deps.nix +++ b/pkgs/development/tools/build-managers/gradle/update-deps.nix @@ -52,10 +52,10 @@ writeTextFile { text = '' #!${runtimeShell} set -eo pipefail - export PATH="${lib.makeBinPath [ - bubblewrap coreutils curl jq mitm-cache openssl + export PATH="${lib.makeBinPath ([ + coreutils curl jq mitm-cache openssl procps python3.pkgs.ephemeral-port-reserve - ]}:$PATH" + ] ++ lib.optional useBwrap bubblewrap)}:$PATH" outPath="${ # if this is an absolute path in nix store, use path relative to the store path if lib.hasPrefix "${builtins.storeDir}/" (toString data)