From 9abb1b7df8f3df1c2c115c7608747b72626245e7 Mon Sep 17 00:00:00 2001 From: Utku Demir Date: Sat, 19 Nov 2022 15:43:52 +1300 Subject: [PATCH] Reduce GHCs optimisation level --- CHANGELOG.md | 1 + nix-tree.cabal | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5c5851..833328a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased * feat: Improved help text. +* fix: Use -O1 instead of -O2 to save on compile times. ## 0.2.1 - 2022-10-24: diff --git a/nix-tree.cabal b/nix-tree.cabal index ac60e55..4ae5cf7 100644 --- a/nix-tree.cabal +++ b/nix-tree.cabal @@ -65,7 +65,7 @@ common common-options executable nix-tree import: common-options - ghc-options: -Wunused-packages -O2 -threaded -with-rtsopts=-N + ghc-options: -Wunused-packages -O1 -threaded -with-rtsopts=-N main-is: NixTree/Main.hs hs-source-dirs: src default-language: Haskell2010