Skip to content

Commit

Permalink
junest: fix --version flag
Browse files Browse the repository at this point in the history
Signed-off-by: jdev082 <jdev082@jdev.eu.org>
  • Loading branch information
jdev082 committed Oct 29, 2024
1 parent c29012c commit 0f4ede2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/by-name/ju/junest/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 0f4ede2

Please sign in to comment.