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.
keep-around/260108a586419c56af181aa471a3ac11a1e9f072
hexchen 2020-11-29 03:56:58 +00:00
parent a9ffb27289
commit 260108a586
1 changed files with 1 additions and 0 deletions

View File

@ -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