mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
nf-test: ensure makeWrapper is restricted to nativeBuildInputs (#341532)
This commit is contained in:
commit
4aa5816cac
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user