summary refs log tree commit diff
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-09-25 19:59:11 +0000
committerJörg Thalheim <joerg@thalheim.io>2017-10-15 12:13:58 -0500
commit8f95aef531de13e6fffc62a31b4106f745d647ec (patch)
treeb4f01e585527500374d7beb55b586779d5960b9c
parent69886a41706306e4bf27c9f2ae5c5e13493e5971 (diff)
downloadnixlib-8f95aef531de13e6fffc62a31b4106f745d647ec.tar
nixlib-8f95aef531de13e6fffc62a31b4106f745d647ec.tar.gz
nixlib-8f95aef531de13e6fffc62a31b4106f745d647ec.tar.bz2
nixlib-8f95aef531de13e6fffc62a31b4106f745d647ec.tar.lz
nixlib-8f95aef531de13e6fffc62a31b4106f745d647ec.tar.xz
nixlib-8f95aef531de13e6fffc62a31b4106f745d647ec.tar.zst
nixlib-8f95aef531de13e6fffc62a31b4106f745d647ec.zip
meson: do not strip RPATH
https://github.com/NixOS/nixpkgs/pull/28444#issuecomment-324033323
-rw-r--r--pkgs/development/tools/build-managers/meson/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/tools/build-managers/meson/default.nix b/pkgs/development/tools/build-managers/meson/default.nix
index 77ff46d94722..1c2e726cdc54 100644
--- a/pkgs/development/tools/build-managers/meson/default.nix
+++ b/pkgs/development/tools/build-managers/meson/default.nix
@@ -18,7 +18,11 @@ python3Packages.buildPythonApplication rec {
     popd
   '';
 
-  setupHook = ./setup-hook.sh;
+  postPatch = ''
+    sed -i -e 's|e.fix_rpath(install_rpath)||' mesonbuild/scripts/meson_install.py
+  '';
+
+  setupHook = ./setup-hook.sh;    
 
   meta = with lib; {
     homepage = http://mesonbuild.com;