From 7b6987ea4e040338c7bb83eb89c0c9a2d176b698 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Sun, 11 Dec 2022 21:14:01 +0400 Subject: hugin: use glew-egl to fix startup crash Currently, hugin crashes on startup with an unhelpful ERROR: 21:14:22.923574 (/build/hugin-2021.0.0/src/hugin1/hugin/GLViewer.cpp:133) SetUpContext(): Error initialising GLEW: Unknown error. As outlined in [1], this is caused by glew being compiled without egl support. As such, switching to glew-egl fixes the problem and hugin starts up fine. [1]: https://bbs.archlinux.org/viewtopic.php?id=278127 --- pkgs/applications/graphics/hugin/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/applications/graphics/hugin/default.nix index 925175e5bf616..389d5d4294b88 100644 --- a/pkgs/applications/graphics/hugin/default.nix +++ b/pkgs/applications/graphics/hugin/default.nix @@ -13,7 +13,7 @@ , fftw , flann , gettext -, glew +, glew-egl , ilmbase , lcms2 , lensfun @@ -56,7 +56,7 @@ stdenv.mkDerivation rec { fftw flann gettext - glew + glew-egl ilmbase lcms2 lensfun -- cgit 1.4.1