Merge pull request from amjoseph-nixpkgs/pr/alacritty/rpath

alacritty: --add-rpath instead of --set-rpath
This commit is contained in:
Nick Cao 2023-07-01 10:15:43 +08:00 committed by GitHub
commit e3a2a8e42e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ rustPlatform.buildRustPackage rec {
# As a workaround, strip manually before running patchelf.
$STRIP -S $out/bin/alacritty
patchelf --set-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
patchelf --add-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/alacritty
''
) + ''