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
easy-dhall = import ./default.nix {
inherit pkgs;
};
in pkgs.stdenv.mkDerivation {
name = "easy-dhall-nix-shell";
buildInputs = [
easy-dhall.dhall-simple
easy-dhall.dhall-json-simple
easy-dhall.dhall-bash-simple
];
}
pkgs = import <nixpkgs> {};
default = import ./default.nix {};
in
pkgs.mkShell {
buildInputs =
builtins.attrValues default;
}