diff options
author | David McFarland <corngood@gmail.com> | 2024-03-31 14:53:11 -0300 |
---|---|---|
committer | David McFarland <corngood@gmail.com> | 2024-04-04 10:24:54 -0300 |
commit | b2c788ad1b4d483640c381438cb17f0f0e3fb059 (patch) | |
tree | 6b15432acd542ef7f6b284ec9324f5080e64cd5c | |
parent | 41a076e9d4b6114172db5180d450d8ee027511c6 (diff) |
patch-nupkgs: use --add-rpath instead of --set-rpath
This avoids stripping $ORIGIN from libs that need it.
-rw-r--r-- | pkgs/development/compilers/dotnet/patch-nupkgs.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/dotnet/patch-nupkgs.nix b/pkgs/development/compilers/dotnet/patch-nupkgs.nix index 0f1173056f047..b935e4893e692 100644 --- a/pkgs/development/compilers/dotnet/patch-nupkgs.nix +++ b/pkgs/development/compilers/dotnet/patch-nupkgs.nix @@ -51,7 +51,7 @@ in writeShellScriptBin "patch-nupkgs" '' --set-interpreter "${stdenv.cc.bintools.dynamicLinker}" \ "$tmp" ||: patchelf \ - --set-rpath "${binaryRPath}" \ + --add-rpath "${binaryRPath}" \ "$tmp" ||: mv "$tmp" "$p" fi |