From b5c319ea7124f3ecea397368706b9b0e71d9cdac Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Mon, 25 Feb 2019 16:24:24 +0100 Subject: [PATCH] Add mercurial to NixOS images --- images/nixos/base-system-configuration.nix | 1 + images/nixos/functions | 2 ++ 2 files changed, 3 insertions(+) diff --git a/images/nixos/base-system-configuration.nix b/images/nixos/base-system-configuration.nix index 3bff30a..a3516a5 100644 --- a/images/nixos/base-system-configuration.nix +++ b/images/nixos/base-system-configuration.nix @@ -45,6 +45,7 @@ environment.systemPackages = with pkgs; [ git + mercurial curl ]; } diff --git a/images/nixos/functions b/images/nixos/functions index ac0898b..ca8262c 100644 --- a/images/nixos/functions +++ b/images/nixos/functions @@ -42,6 +42,8 @@ sanity_check() { guest_ssh -p 8022 build@127.0.0.1 nix-shell -p hello --run "hello" echo "Testing git..." guest_ssh -p 8022 build@127.0.0.1 git --version + echo "Testing mercurial..." + guest_ssh -p 8022 build@127.0.0.1 hg --version echo "Everything works!" guest_ssh -p 8022 build@127.0.0.1 sudo poweroff || true } -- 2.38.5