summaryrefslogtreecommitdiff
path: root/nix/build.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-07-25 22:24:44 -0700
committerBen Sima <ben@bsima.me>2020-07-25 23:25:05 -0700
commit01bda0f0aa87c34a30253ffd1d5b60b33644f6d8 (patch)
tree8d2ac795680b8379c44bfe7f4817753482b3b961 /nix/build.nix
parent2f32da5812583c6675bdc9ff88a3a3d5cefbb82f (diff)
bild: support incremental compilation
Closes https://github.com/bsima/biz/issues/9
Diffstat (limited to 'nix/build.nix')
-rw-r--r--nix/build.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/nix/build.nix b/nix/build.nix
index fa7dcc8..5258313 100644
--- a/nix/build.nix
+++ b/nix/build.nix
@@ -97,8 +97,19 @@ in {
name = "bizdev";
buildInputs = [
(ghc_ allDeps)
- # this says something about missing haskelline?
- #(ghcjs_ allDeps)
+ # ghcjs doesn't need everything, and many things fail to build
+ (ghcjs_ [
+ "aeson"
+ "clay"
+ "containers"
+ "miso"
+ "protolude"
+ "servant"
+ "split"
+ "string-quote"
+ "text"
+ "ghcjs-base"
+ ])
nixpkgs.figlet
nixpkgs.hlint