remove gl from nix to check how linking fails

This commit is contained in:
Gregor Lohaus
2026-05-28 22:46:07 +02:00
parent 163c7b7279
commit 57f97e4119

View File

@@ -105,7 +105,6 @@
};
runtimeLibs = [
pkgs.libglvnd
pkgs.glib
pkgs.gtk3
pkgs.pango
@@ -226,7 +225,7 @@
cp "$binary" "$out/bin/jprototerm"
wrapProgram "$out/bin/jprototerm" \
--run 'if [ -d /usr/lib/x86_64-linux-gnu/nvidia/current ]; then export __GLX_VENDOR_LIBRARY_NAME="''${__GLX_VENDOR_LIBRARY_NAME:-nvidia}"; fi' \
--prefix LD_LIBRARY_PATH : "${pkgs.lib.makeLibraryPath runtimeLibs}:/usr/lib/x86_64-linux-gnu/nvidia/current" \
--prefix LD_LIBRARY_PATH : "${pkgs.lib.makeLibraryPath runtimeLibs}" \
--set GDK_BACKEND x11
runHook postInstall
@@ -242,7 +241,6 @@
pkgs = import nixpkgs { inherit system; };
jlib = jlibghostty.packages.${system}.jlibghostty;
runtimeLibs = [
pkgs.libglvnd
pkgs.glib
pkgs.gtk3
pkgs.pango