mirror of
https://github.com/justinwoo/easy-dhall-nix.git
synced 2024-11-30 06:59:43 +01:00
fix shell setup with lorri
This commit is contained in:
parent
7dc086decb
commit
83158cb4bb
2 changed files with 8 additions and 15 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
eval "$(lorri direnv)"
|
22
shell.nix
22
shell.nix
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue