diff --git a/pkgs/development/tools/misc/pahole/default.nix b/pkgs/development/tools/misc/pahole/default.nix index 739cc7e5143d..38de21872b9f 100644 --- a/pkgs/development/tools/misc/pahole/default.nix +++ b/pkgs/development/tools/misc/pahole/default.nix @@ -11,8 +11,8 @@ stdenv.mkDerivation { postInstall = '' for p in $out/bin/*; do - rpath=`patchelf --print-rpath $p`:$out - patchelf --set-rpath $rpath $p + rpath=`patchelf --print-rpath $p || true`:$out + patchelf --set-rpath "$rpath" $p || true done '';