remove gl from nix to check how linking fails
This commit is contained in:
@@ -105,7 +105,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
runtimeLibs = [
|
runtimeLibs = [
|
||||||
pkgs.libglvnd
|
|
||||||
pkgs.glib
|
pkgs.glib
|
||||||
pkgs.gtk3
|
pkgs.gtk3
|
||||||
pkgs.pango
|
pkgs.pango
|
||||||
@@ -226,7 +225,7 @@
|
|||||||
cp "$binary" "$out/bin/jprototerm"
|
cp "$binary" "$out/bin/jprototerm"
|
||||||
wrapProgram "$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' \
|
--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
|
--set GDK_BACKEND x11
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
@@ -242,7 +241,6 @@
|
|||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
jlib = jlibghostty.packages.${system}.jlibghostty;
|
jlib = jlibghostty.packages.${system}.jlibghostty;
|
||||||
runtimeLibs = [
|
runtimeLibs = [
|
||||||
pkgs.libglvnd
|
|
||||||
pkgs.glib
|
pkgs.glib
|
||||||
pkgs.gtk3
|
pkgs.gtk3
|
||||||
pkgs.pango
|
pkgs.pango
|
||||||
|
|||||||
Reference in New Issue
Block a user