From b5dab915f8e8437690f07186a940917c815b292b Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Fri, 6 Mar 2020 14:54:32 +1000 Subject: [PATCH] Added docker environment --- roles/iohk.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/roles/iohk.nix b/roles/iohk.nix index a384d5f..fe9eb5f 100644 --- a/roles/iohk.nix +++ b/roles/iohk.nix @@ -12,4 +12,24 @@ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ]; + imports = [ + ./crystal0.32.nix + ]; + + # Set the system-wide environment + environment = { + systemPackages = with pkgs; [ + #crystal # A compiled language with Ruby like syntax and type inference + docker # Pack, ship and run any application as a lightweight container + gnupg # GNU Privacy Guard, a GPL OpenPGP implementation + go-jira # Simple command line client for Atlassian's Jira service written in Go + icr # Interactive console for the Crystal programming languag + jq # A lightweight and flexible command-line JSON processor + scry # Code analysis server for the Crystal programming language + shards # Dependency manager for the Crystal language + ]; + }; + + virtualisation.docker.enable = true; + }