better nix shell

This commit is contained in:
Ben Sima 2020-10-04 09:26:43 -04:00
parent 0a19045256
commit 5c723787a7

View File

@ -1,2 +1,11 @@
{ nixpkgs ? import <nixpkgs> {}, 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
]))
];
}