Skip to content

Commit

Permalink
nf-test: ensure makeWrapper is restricted to nativeBuildInputs (#341532)
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar authored Oct 2, 2024
2 parents a9e4aa2 + f75a553 commit 4aa5816
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions pkgs/by-name/nf/nf-test/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,7 @@ stdenv.mkDerivation rec {
};
sourceRoot = ".";

buildInputs = [
makeWrapper
];

nativeBuildInputs = [
nextflow
];

nativeBuildInputs = [ makeWrapper ];

installPhase = ''
runHook preInstall
Expand All @@ -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
'';
Expand Down

0 comments on commit 4aa5816

Please sign in to comment.