~comcloudway/builds.sr.ht

b5c319ea7124f3ecea397368706b9b0e71d9cdac — Francesco Gazzetta 5 years ago 5108b08
Add mercurial to NixOS images
2 files changed, 3 insertions(+), 0 deletions(-)

M images/nixos/base-system-configuration.nix
M images/nixos/functions
M images/nixos/base-system-configuration.nix => images/nixos/base-system-configuration.nix +1 -0
@@ 45,6 45,7 @@

  environment.systemPackages = with pkgs; [
    git
    mercurial
    curl
  ];
}

M images/nixos/functions => images/nixos/functions +2 -0
@@ 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
}