fix shell setup with lorri

This commit is contained in:
justinwoo 2019-08-04 16:00:07 +02:00
parent 7dc086decb
commit 83158cb4bb
2 changed files with 8 additions and 15 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
eval "$(lorri direnv)"

View file

@ -1,16 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:
let let
easy-dhall = import ./default.nix { pkgs = import <nixpkgs> {};
inherit pkgs; default = import ./default.nix {};
}; in
pkgs.mkShell {
in pkgs.stdenv.mkDerivation { buildInputs =
name = "easy-dhall-nix-shell"; builtins.attrValues default;
}
buildInputs = [
easy-dhall.dhall-simple
easy-dhall.dhall-json-simple
easy-dhall.dhall-bash-simple
];
}