Merge pull request #1195 from vancluever/vancluever-fix-nix-x11

nix: add libX11 to RUNPATH
This commit is contained in:
Mitchell Hashimoto
2024-01-01 21:52:48 -08:00
committed by GitHub

View File

@ -151,6 +151,10 @@ in
echo "$shell_integration" >> "$out/nix-support/propagated-user-env-packages" echo "$shell_integration" >> "$out/nix-support/propagated-user-env-packages"
''; '';
postFixup = ''
patchelf --add-rpath "${lib.makeLibraryPath [libX11]}" "$out/bin/.ghostty-wrapped"
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/mitchellh/ghostty"; homepage = "https://github.com/mitchellh/ghostty";
license = licenses.mit; license = licenses.mit;