From 2fd8e15db0b4e5f01b5e2041c28b649d04b35df0 Mon Sep 17 00:00:00 2001 From: rina Date: Mon, 2 Dec 2024 14:36:38 +1000 Subject: [PATCH] fix? sporadic failure --- llvm-translator/retdec5.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm-translator/retdec5.nix b/llvm-translator/retdec5.nix index 7e736d2..63c5ee6 100644 --- a/llvm-translator/retdec5.nix +++ b/llvm-translator/retdec5.nix @@ -241,6 +241,11 @@ stdenv.mkDerivation (self: { --replace-fail "'upx'" "'${upx}'" ''; + # build first to make sure YARA_DIR has u+w permissions? + preBuild = '' + ninja yara + ''; + doInstallCheck = enableTests; installCheckPhase = '' ${python3.interpreter} "''${!outputBin}/bin/retdec-tests-runner.py"