aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-05-01 14:35:19 -0300
committerEuAndreh <eu@euandre.org>2019-05-01 14:35:19 -0300
commitfb118d122d6c627eb28768bfdcc7f3e5c2b92d13 (patch)
treed878741a3bae879d714eee2074a50922f8f82c05
parentDerive tmuxinator templates from files instead of static list. (diff)
downloaddotfiles-fb118d122d6c627eb28768bfdcc7f3e5c2b92d13.tar.gz
dotfiles-fb118d122d6c627eb28768bfdcc7f3e5c2b92d13.tar.xz
Use NixOS image in sr.ht build template.
-rw-r--r--templates/sr-ht-build.yaml9
1 files changed, 3 insertions, 6 deletions
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