From 6a007cf4effdd9092e8a8d103c643ee1e26f720e Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 28 Mar 2024 08:07:19 -0300 Subject: [PATCH] hosttools: skip the fixup phase Avoid to apply the patchelf command to ELF executables and libraries to remove unused directories from the RPATH. Fixes: % openocd openocd: /nix/store/.../hosttools/.../lib/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/.../...h9x-glibc-2.38-44/lib/libpthread.so.0) Signed-off-by: Otavio Salvador --- default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/default.nix b/default.nix index 832ce44..f419536 100644 --- a/default.nix +++ b/default.nix @@ -141,6 +141,7 @@ in { buildInputs = [ python3 ]; dontBuild = true; + dontFixup = true; sourceRoot = ".";