From fb118d122d6c627eb28768bfdcc7f3e5c2b92d13 Mon Sep 17 00:00:00 2001 From: EuAndreh <eu@euandre.org> Date: Wed, 1 May 2019 14:35:19 -0300 Subject: Use NixOS image in sr.ht build template. --- templates/sr-ht-build.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/sr-ht-build.yaml b/templates/sr-ht-build.yaml index 8c55df6..656819e 100644 --- a/templates/sr-ht-build.yaml +++ b/templates/sr-ht-build.yaml @@ -1,6 +1,6 @@ -image: debian/stretch -packages: - - curl +image: nixos/unstable +repositories: + nixpkgs: https://nixos.org/channels/nixpkgs-unstable triggers: - condition: failure action: email @@ -10,9 +10,6 @@ sources: secrets: - 7159f943-811f-402d-bb6d-37cd764dc728 tasks: - - setup: | - curl https://nixos.org/nix/install | sh - echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv - tests: | cd $REPO/ nix-build -A test -- cgit v1.2.3