From 33ff8cd8a9142725bbb717fd7f8c61cb73dcbdbf Mon Sep 17 00:00:00 2001 From: kiana-S Date: Sun, 26 Dec 2021 20:41:28 -0500 Subject: [PATCH] Fix OpenGL compatibility issues --- conways-game-of-life.cabal | 1 + flake.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/conways-game-of-life.cabal b/conways-game-of-life.cabal index ef3d29c..ce341a4 100644 --- a/conways-game-of-life.cabal +++ b/conways-game-of-life.cabal @@ -11,6 +11,7 @@ executable main other-modules: GOL.Rule, GOL.Space, GOL.Engine, + Graphics.GlossUtils, Graphics.Engine build-depends: base, vector, diff --git a/flake.nix b/flake.nix index c8723ae..e57aa50 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,10 @@ hlint pkgs.haskell-language-server pkgs.ormolu + + pkgs.mesa + pkgs.mesa_glu + pkgs.freeglut ]; inputsFrom = builtins.attrValues self.packages.${system}; };