aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2020-02-29 16:05:00 -0500
committerGitHub <noreply@github.com>2020-02-29 16:05:00 -0500
commit1da6129332d63ac04767900868b0e1d03219acca (patch)
tree3d0e03d9a986b33a176a5eb5a08825c3a7b676e6 /shell.nix
parent6adc88b1ff03482030b919b6b7a4bfb03079413f (diff)
downloadxesite-1da6129332d63ac04767900868b0e1d03219acca.tar.xz
xesite-1da6129332d63ac04767900868b0e1d03219acca.zip
Patron page (#122)
* implement /patrons * bump go to 1.14 * go mod tidy * bump go in github actions
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix24
1 files changed, 20 insertions, 4 deletions
diff --git a/shell.nix b/shell.nix
index 6abe8a7..f88232b 100644
--- a/shell.nix
+++ b/shell.nix
@@ -2,10 +2,26 @@ let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs { };
niv = (import sources.niv { }).niv;
- dhall-yaml =
- (import sources.easy-dhall-nix { inherit pkgs; }).dhall-yaml-simple;
+ dhallpkgs = import sources.easy-dhall-nix { inherit pkgs; };
+ dhall-yaml = dhallpkgs.dhall-yaml-simple;
+ dhall = dhallpkgs.dhall-simple;
xepkgs = import sources.xepkgs { inherit pkgs; };
vgo2nix = import sources.vgo2nix { inherit pkgs; };
-in pkgs.mkShell {
- buildInputs = [ pkgs.go xepkgs.gopls dhall-yaml niv vgo2nix ];
+in with pkgs;
+with xepkgs;
+mkShell {
+ buildInputs = [
+ # Go tools
+ go
+ goimports
+ gopls
+ vgo2nix
+
+ # kubernetes deployment
+ dhall
+ dhall-yaml
+
+ # dependency manager
+ niv
+ ];
}