summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}
'';