diff --git a/renderer-tutorial.cabal b/renderer-tutorial.cabal index 8fb8ec2..b015181 100644 --- a/renderer-tutorial.cabal +++ b/renderer-tutorial.cabal @@ -31,6 +31,7 @@ executable renderer-tutorial , JuicyPixels , JuicyPixels-extra , StateVar + , lens other-modules: BindableClass , BufferClass , VertexBuffer diff --git a/shell.nix b/shell.nix index 55f1fd5..8711563 100644 --- a/shell.nix +++ b/shell.nix @@ -5,8 +5,8 @@ let inherit (nixpkgs) pkgs; f = { mkDerivation, base, bytestring, JuicyPixels - , JuicyPixels-extra, linear, monad-loops, OpenGL, OpenGLRaw, random - , sdl2, StateVar, stdenv, vector + , JuicyPixels-extra, lens, linear, monad-loops, OpenGL, OpenGLRaw + , random, sdl2, StateVar, stdenv, vector }: mkDerivation { pname = "renderer-tutorial"; @@ -15,8 +15,8 @@ let isLibrary = false; isExecutable = true; executableHaskellDepends = [ - base bytestring JuicyPixels JuicyPixels-extra linear monad-loops - OpenGL OpenGLRaw random sdl2 StateVar vector + base bytestring JuicyPixels JuicyPixels-extra lens linear + monad-loops OpenGL OpenGLRaw random sdl2 StateVar vector ]; license = stdenv.lib.licenses.gpl3; };