From 5c723787a75bfbb0be49b62978d17bfeafec5945 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 4 Oct 2020 09:26:43 -0400 Subject: [PATCH] better nix shell --- shell.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index e8cf455..7e1f58b 100644 --- a/shell.nix +++ b/shell.nix @@ -1,2 +1,11 @@ { nixpkgs ? import {}, compiler ? "ghc884" }: -(import ./default.nix { inherit nixpkgs compiler; }).env + +nixpkgs.mkShell { + name = "urbit-airlock-shell"; + buildInputs = [ + nixpkgs.ormolu.bin + (nixpkgs.pkgs.haskell.packages.${compiler}.ghcWithPackages (hp: with hp; [ + aeson base bytestring lens text wai wai-extra wreq + ])) + ]; +}