summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-04-04 21:06:38 -0700
committerBen Sima <ben@bsima.me>2020-04-04 21:06:38 -0700
commitf0e5894c625a726b5364365298f144e862b23676 (patch)
treeb5414be1b2782dd2345a3461ab09e49a258d44a2
parentf8283fa036bde281774c12752eba6558f1772e0a (diff)
Remove some empty space
-rw-r--r--biz.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/biz.nix b/biz.nix
index 576d3c4..6dc10d3 100644
--- a/biz.nix
+++ b/biz.nix
@@ -43,11 +43,8 @@ in {
nativeBuildInputs = [ ghc ];
strictDeps = true;
buildPhase = ''
- #
mkdir -p $out/{bin,static} ${baseNameOf relpath}
- #
# compile with ghc
- #
${ghc}/bin/ghc -Werror -i. \
--make ${main} \
-main-is ${module} \
@@ -76,18 +73,13 @@ in {
nativeBuildInputs = [ ghcjs ];
strictDeps = true;
buildPhase = ''
- #
mkdir -p $out/{bin,static} ${baseNameOf relpath}
- #
# compile with ghcjs
- #
${ghcjs}/bin/ghcjs -Werror -i. \
--make ${main} \
-main-is ${module} \
-o ${exe}
- #
# optimize js output
- #
${pkgs.closurecompiler}/bin/closure-compiler \
${exe}.jsexe/all.js > $out/static/${exe}
'';