Skip to content

Commit

Permalink
Update rust-overlay.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreif authored Apr 25, 2023
1 parent 3814b72 commit 343adda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ let
# Here we copy the librustc_driver-*.{so,dylib} to our derivation.
# The SYSROOT is determined based on the path of this library.
shopt -s nullglob
RUSTC_DRIVER_PATH=$(realpath -e $out/lib/librustc_driver-*.{so,dylib})
echo SYSROOT: cp --remove-destination $RUSTC_DRIVER_PATH $out/lib/
cp --remove-destination $RUSTC_DRIVER_PATH $out/lib/
Expand Down

0 comments on commit 343adda

Please sign in to comment.