nf-test: ensure makeWrapper is restricted to nativeBuildInputs (#341532)

This commit is contained in:
Doron Behar
2024-10-02 18:37:51 +03:00
committed by GitHub
+2 -9
View File
@@ -18,14 +18,7 @@ stdenv.mkDerivation rec {
};
sourceRoot = ".";
buildInputs = [
makeWrapper
];
nativeBuildInputs = [
nextflow
];
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
@@ -36,7 +29,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
makeWrapper ${openjdk11}/bin/java $out/bin/nf-test \
--add-flags "-jar $out/share/nf-test/nf-test.jar" \
--prefix PATH : ${lib.makeBinPath nativeBuildInputs} \
--prefix PATH : ${lib.makeBinPath [ nextflow ]} \
runHook postInstall
'';