From 81245494a9e59122b0a747762a08031ce3dff6f3 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 13 Dec 2021 18:28:30 -0500 Subject: Add --repl for Haskell programs --- Biz/Bild.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Biz/Bild.nix') diff --git a/Biz/Bild.nix b/Biz/Bild.nix index cab8193..a4e655b 100644 --- a/Biz/Bild.nix +++ b/Biz/Bild.nix @@ -58,7 +58,7 @@ in rec { set -eux mkdir $out : analyzing with bild - ${bild}/bin/bild --analyze ${main} 1> $out/analysis.json 2> $out/stderr + ${bild}/bin/bild --json ${main} 1> $out/analysis.json 2> $out/stderr set +eux ''; installPhase = "exit 0"; @@ -124,11 +124,9 @@ in rec { env = pkgs.mkShell { name = "bizdev"; buildInputs = with nixpkgs.pkgs; [ - ghcPackageSetFull # need this until 'bild -s' works # this should just be dev tools haskell.packages.${ghcCompiler}.apply-refact bild - cmark figlet haskell.packages.${ghcCompiler}.fast-tags hlint @@ -140,14 +138,11 @@ in rec { python38Packages.pylint shellcheck wemux - gmnisrv - gmni ] ++ lib.optional nixpkgs.stdenv.isLinux [ # scheme deps (i think these are broken on macOS) guile #inspekt3d #libfive - ccze ]; shellHook = ". ${./Bild/ShellHook.sh}"; }; -- cgit v1.2.3