From 31976ff185c43173ac6ef017a6d25658479cf693 Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 10 Aug 2020 12:49:57 +0200 Subject: [PATCH] add new dependency --- renderer-tutorial.cabal | 1 + shell.nix | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) 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; };