about summary refs log tree commit diff
path: root/pkgs/applications/graphics/hugin
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft@balsoft.ru>2022-12-11 21:14:01 +0400
committerAlexander Bantyev <balsoft@balsoft.ru>2022-12-11 21:14:01 +0400
commit7b6987ea4e040338c7bb83eb89c0c9a2d176b698 (patch)
tree3c57e7b1d1cd17c0cb1f16d3d7e508bf5d7e6534 /pkgs/applications/graphics/hugin
parent99fed31f9da9265b6b608955610e4b72247e0dad (diff)
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
Diffstat (limited to 'pkgs/applications/graphics/hugin')
-rw-r--r--pkgs/applications/graphics/hugin/default.nix4
1 files changed, 2 insertions, 2 deletions
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