Skip to content

Commit

Permalink
swift: remove NIX_BUILD_TOP
Browse files Browse the repository at this point in the history
  • Loading branch information
stephank committed Nov 15, 2022
1 parent 0cdc8ab commit 60377b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/compilers/swift/compiler/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';

Expand Down

0 comments on commit 60377b2

Please sign in to comment.