mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 07:27:51 +00:00
nf-test: ensure makeWrapper is restricted to nativeBuildInputs
This does not fix cross builds because not all dependencies can be built in cross, but it fixes eval error: makeWrapper/makeShellWrapper must be in nativeBuildInputs.
This commit is contained in:
parent
d5a0693815
commit
f75a55389b
@ -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