about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-05-16 16:35:52 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-05-16 18:30:58 +0200
commit65ede052fa9f005efcdb2e852315a0e6f02ce92d (patch)
treead5be9b50e547028ceb5b82bed8dab50d828ab19 /pkgs/applications/science
parent0b89f71a07676a09571e22c0e8e8e6928da9334b (diff)
downloadnixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.gz
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.bz2
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.lz
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.xz
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.tar.zst
nixlib-65ede052fa9f005efcdb2e852315a0e6f02ce92d.zip
treewide: fixup packages with RPATH problems
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/math/calc/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/calc/default.nix b/pkgs/applications/science/math/calc/default.nix
index 19f769e4365c..b8ed7ffac3cd 100644
--- a/pkgs/applications/science/math/calc/default.nix
+++ b/pkgs/applications/science/math/calc/default.nix
@@ -34,6 +34,9 @@ stdenv.mkDerivation rec {
     wrapProgram $out/bin/calc --prefix LD_LIBRARY_PATH : $out/lib
   '';
 
+  # Hack to avoid TMPDIR in RPATHs.
+  preFixup = ''rm -rf "$(pwd)" '';
+
   meta = {
     description = "C-style arbitrary precision calculator";
     homepage = http://www.isthe.com/chongo/tech/comp/calc/;