From 2e3f4a4adf444a4daf9a4dd4b1099495fd315e0a Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sun, 12 Nov 2023 01:34:55 +0000 Subject: [PATCH] Document that patchelf warnings in zephyr toolchain are fine --- packages/zephyr/toolchain.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/zephyr/toolchain.nix b/packages/zephyr/toolchain.nix index e59c52e..fdf373a 100644 --- a/packages/zephyr/toolchain.nix +++ b/packages/zephyr/toolchain.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation { installPhase = '' runHook preInstall mkdir -p "$out" - tar -C "$out" -xvf "$src" + tar -C "$out" -xf "$src" runHook postInstall ''; @@ -28,7 +28,9 @@ stdenv.mkDerivation { autoPatchelf ${target}/${target}/bin autoPatchelf ${target}/lib/bfd-plugins autoPatchelf ${target}/lib/gcc/${target}/*/plugin ${target}/libexec/gcc/${target} - echo "done with my autopatchelf" + + # There are some patchelf errors after this, but it's just audit-tmpdir doing + # patchelf --print-rpath and shouldn't mess with anything ''; meta = with lib; {