From 703f950a6316486bd626cb39e6cbe1484c5d2019 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 25 Jul 2022 09:12:00 -0400 Subject: Remove GHCJS support completely I don't care about ghcjs anymore, the most javascript I want to do is jQuery. --- Biz/Bild.nix | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'Biz/Bild.nix') diff --git a/Biz/Bild.nix b/Biz/Bild.nix index 5a06595..ff525eb 100644 --- a/Biz/Bild.nix +++ b/Biz/Bild.nix @@ -21,7 +21,6 @@ rec { haskellDeps = import ./Bild/Deps/Haskell.nix; ghcWith = nixpkgs.haskell.packages.${constants.ghcCompiler}.ghcWithHoogle; - #mkGhcjsPackageSet = nixpkgs.haskell.packages.${ghcjsCompiler}.ghcWithPackages; sbclWith = nixpkgs.lispPackages_new.sbclWithPackages; @@ -113,31 +112,6 @@ rec { installPhase = "exit 0"; } // { env = ghc; }; - #ghcjs = main: - # let - # data = analyze main; - # ghcjs = mkGhcjsPackageSet (hp: private.selectAttrs data.deps hp); - # in stdenv.mkDerivation { - # name = data.module; - # src = ../.; - # nativeBuildInputs = [ ghcjs ]; - # strictDeps = true; - # buildPhase = '' - # mkdir -p $out/static - # # compile with ghcjs - # ${ghcjs}/bin/ghcjs \ - # -Werror \ - # -i. \ - # --make ${main} \ - # -main-is ${data.module} \ - # -o ${data.out} - # # optimize js output - # ${nixpkgs.pkgs.closurecompiler}/bin/closure-compiler \ - # ${data.out}/all.js > $out/static/${data.out} - # ''; - # installPhase = "exit 0"; - # } // { env = ghcjs; }; - env = nixpkgs.pkgs.mkShell { name = "bizdev"; # this should just be dev tools -- cgit v1.2.3