diff --git a/pkgs/by-name/ne/nextflow/package.nix b/pkgs/by-name/ne/nextflow/package.nix index 26d238d6eb76..d3215d58f43b 100644 --- a/pkgs/by-name/ne/nextflow/package.nix +++ b/pkgs/by-name/ne/nextflow/package.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation (finalAttrs: { # to be reverted for this specific use case. substituteInPlace modules/nextflow/src/main/groovy/nextflow/executor/BashWrapperBuilder.groovy \ --replace-fail "['/bin/bash'," "['${bash}/bin/bash'," \ + --replace-fail '? "/bin/bash"' '? "'${bash}'/bin/bash"' \ --replace-fail "if( containerBuilder ) {" "if( containerBuilder ) { launcher = launcher.replaceFirst(\"/nix/store/.*/bin/bash\", \"/bin/bash\")" '';