diff options
-rw-r--r-- | pkgs/development/compilers/swift/compiler/default.nix | 2 |
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 ''; |