From 260108a586419c56af181aa471a3ac11a1e9f072 Mon Sep 17 00:00:00 2001 From: hexchen Date: Sun, 29 Nov 2020 03:56:58 +0000 Subject: [PATCH] ci: add nix-instantiate as first step we don't have to build the whole closure for every system if we already fail to instantiate it. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ffb4fbf..29fa38a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,4 +4,5 @@ build: stage: build script: - nix-channel --add https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz nixos && nix-channel --update && nix-env -i git + - nix-instantiate -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz -A deploy.all - nix-build -A deploy.all -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz