mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
junest: fix --version flag
Signed-off-by: jdev082 <jdev082@jdev.eu.org>
This commit is contained in:
parent
c29012c10c
commit
0f4ede258d
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user