mirror of
https://github.com/justinwoo/easy-dhall-nix.git
synced 2024-11-23 03:29:42 +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
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue