alacritty-ligatures: fix rpath flag

This commit is contained in:
Jörg Thalheim 2021-02-04 23:21:00 +00:00 committed by GitHub
parent 3dbd760954
commit 86f1713639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ rec {
# and I can't work out a better way to push it to the RPATH. # and I can't work out a better way to push it to the RPATH.
postInstall = pkgs.lib.optional (!pkgs.stdenv.isDarwin) '' postInstall = pkgs.lib.optional (!pkgs.stdenv.isDarwin) ''
patchelf \ patchelf \
--set-rpath ${pkgs.lib.makeLibraryPath ligatureInputs}:"$(patchelf --show-rpath $out/bin/alacritty)" \ --set-rpath ${pkgs.lib.makeLibraryPath ligatureInputs}:"$(patchelf --print-rpath $out/bin/alacritty)" \
$out/bin/alacritty $out/bin/alacritty
''; '';