summaryrefslogtreecommitdiff
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
parentMerge pull request #205547 from r-ryantm/auto-update/primecount (diff)
downloadnixpkgs-7b6987ea4e040338c7bb83eb89c0c9a2d176b698.tar.gz
hugin: use glew-egl to fix startup crashorigin/hugin-with-egl
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
-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 925175e5bf61..389d5d4294b8 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