junest: fix --version flag

Signed-off-by: jdev082 <jdev082@jdev.eu.org>
This commit is contained in:
jdev082 2024-10-29 16:17:45 -05:00
parent c29012c10c
commit 0f4ede258d

View File

@ -14,11 +14,17 @@ stdenvNoCC.mkDerivation rec {
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
mkdir -p $out/lib
cp -r $src/bin/ $out/
cp -r $src/lib/ $out/
# cp -r $src/VERSION $out/
substituteInPlace $out/bin/junest --replace-fail '$(cat "$JUNEST_BASE"/VERSION)' ${version}
substituteInPlace $out/lib/core/common.sh --replace-fail "wget" ${lib.getExe wget}
runHook postInstall
'';
meta = {