diff --git a/pkgs/by-name/ju/junest/package.nix b/pkgs/by-name/ju/junest/package.nix index 10f59b82adf6..4f2d89f9f6a0 100644 --- a/pkgs/by-name/ju/junest/package.nix +++ b/pkgs/by-name/ju/junest/package.nix @@ -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 = {