about summary refs log tree commit diff
path: root/pkgs/development/compilers/swift
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/development/compilers/swift
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/development/compilers/swift')
-rw-r--r--pkgs/development/compilers/swift/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/swift/default.nix b/pkgs/development/compilers/swift/default.nix
index 4b918c9e32a9..839ecdbeb652 100644
--- a/pkgs/development/compilers/swift/default.nix
+++ b/pkgs/development/compilers/swift/default.nix
@@ -253,6 +253,9 @@ stdenv.mkDerivation rec {
     ln -s ${binutils}/bin/ar $out/bin/ar
   '';
 
+  # Hack to avoid TMPDIR in RPATHs.
+  preFixup = ''rm -rf "$(pwd)" '';
+
   meta = with stdenv.lib; {
     description = "The Swift Programming Language";
     homepage = "https://github.com/apple/swift";