git.iko.soy/typeable/cabal2nix
on master help sign in
Nixpkgs has renamed "mesa" to "libGL".

See: - https://github.com/NixOS/nixpkgs/commit/71f899c2c3b114ecf133ee0f25e6f2ef42df1d07 - https://github.com/NixOS/nixpkgs/pull/34461

commitef1bce09feeac1adf415c71d5088b2a4a6d09955 authorPeter Simons <simons@cryp.to> dateTue 6 Mar 2018, 09:45 (9 years ago) parent0aa23ac
1 file changed+4−4
src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs+4−4
src/Distribution/Nixpkgs/Haskell/FromCabal/Name.hs+4−4
@@ -48,9 +48,9 @@ libNixName "gdk-3.0" = return "gtk3"
4848libNixName "gdk-pixbuf-2.0" = return "gdk_pixbuf"
4949libNixName "gdk-x11-2.0" = return "gdk_x11"
5050libNixName "gio-2.0" = return "glib"
51−libNixName "GL" = return "mesa"
52−libNixName "GLU" = ["freeglut","mesa"]
53−libNixName "glut" = ["freeglut","mesa"]
51+libNixName "GL" = return "libGL"
52+libNixName "GLU" = ["freeglut","libGL"]
53+libNixName "glut" = ["freeglut","libGL"]
5454libNixName "gnome-keyring" = return "gnome-keyring"
5555libNixName "gnome-keyring-1" = return "gnome-keyring"
5656libNixName "gnome-vfs-2.0" = return "gnome-vfs"
@@ -145,7 +145,7 @@ libNixName "udev" = return "systemd";
145145libNixName "uuid" = return "libossp_uuid";
146146libNixName "wayland-client" = return "wayland"
147147libNixName "wayland-cursor" = return "wayland"
148−libNixName "wayland-egl" = return "mesa"
148+libNixName "wayland-egl" = return "libGL"
149149libNixName "wayland-server" = return "wayland"
150150libNixName "webkit2gtk-4.0" = return "webkitgtk" -- This is the current API, so let it reference an alias for the latest version.
151151libNixName "webkit2gtk-web-extension-4.0" = return "webkitgtk-web-extension" -- This package doesn't actually exist in nixpkgs at present.