From 3100d932a7bb8db8394afaea7820c99d61231867 Mon Sep 17 00:00:00 2001 From: nek0 Date: Wed, 11 Apr 2018 20:01:58 +0200 Subject: [PATCH] profiling --- cabal.config | 1 + shell.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/cabal.config b/cabal.config index 2544e4b..7b652c6 100644 --- a/cabal.config +++ b/cabal.config @@ -1 +1,2 @@ constraints: affection +debug +profiling: True diff --git a/shell.nix b/shell.nix index c29408c..354cfe7 100644 --- a/shell.nix +++ b/shell.nix @@ -71,6 +71,7 @@ let src = ./.; isLibrary = false; isExecutable = true; + enableExecutableProfiling = true; executableHaskellDepends = [ affectionNeko astar base containers ecstasy linear matrix nanovgNeko OpenGL random sdl2 stm text unordered-containers vector