about summary refs log tree commit diff
path: root/pkgs/development/compilers/swift/compiler
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2022-11-15 15:33:47 +0100
committerStéphan Kochen <git@stephank.nl>2022-11-21 11:04:54 +0100
commita4c8c87cb12a9f7b381d2cfe1d212b101c1c1453 (patch)
tree35676030085eb14b52251447c509621a24cea811 /pkgs/development/compilers/swift/compiler
parentaae355626f804d662d1cc81e8880513ebb008e60 (diff)
swift: remove NIX_BUILD_TOP
Diffstat (limited to 'pkgs/development/compilers/swift/compiler')
-rw-r--r--pkgs/development/compilers/swift/compiler/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/swift/compiler/default.nix b/pkgs/development/compilers/swift/compiler/default.nix
index 55721fa65eb1c..0612deb471d17 100644
--- a/pkgs/development/compilers/swift/compiler/default.nix
+++ b/pkgs/development/compilers/swift/compiler/default.nix
@@ -590,7 +590,7 @@ in stdenv.mkDerivation {
 
   preFixup = lib.optionalString stdenv.isLinux ''
     # This is cheesy, but helps the patchelf hook remove /build from RPATH.
-    cd $NIX_BUILD_TOP
+    cd $SWIFT_BUILD_ROOT/..
     mv build buildx
   '';