Skip to content
This repository was archived by the owner on Sep 13, 2020. It is now read-only.

Commit 85234a5

Browse files
committed
Update nix shell to latest Dhall, add startup script
1 parent 88fa61c commit 85234a5

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

default.nix

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,26 @@ let
1111
) {
1212
inherit pkgs;
1313
};
14+
easy-dhall = import (
15+
pkgs.fetchFromGitHub {
16+
owner = "justinwoo";
17+
repo = "easy-dhall-nix";
18+
rev = "35bca5ba56b7b3f8684aa0afbb65608159beb5ce";
19+
sha256 = "16l71qzzfkv4sbxl03r291nswsrkr3g13viqkma2s8r5vy9la3al";
20+
}
21+
) {
22+
inherit pkgs;
23+
};
1424

1525
in
1626
pkgs.runCommand "easy-ps-test" {
17-
buildInputs = builtins.attrValues {
18-
inherit (easy-ps) purescript psc-package dhall-simple dhall-json-simple spago;
19-
} ++ [ pkgs.git pkgs.nodePackages.bower ];
27+
buildInputs =
28+
builtins.attrValues {
29+
inherit (easy-ps) purescript psc-package spago;
30+
} ++
31+
builtins.attrValues {
32+
inherit (easy-dhall) dhall-simple dhall-json-simple;
33+
} ++
34+
[ pkgs.git pkgs.nodePackages.bower ];
2035
} ""
36+

launch.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#! /usr/bin/env nix-shell
2+
#! nix-shell default.nix -i bash
3+
set -euo pipefail
4+
5+
source .envrc
6+
pacchettibotti

0 commit comments

Comments
 (0)