forked from hacc/haccfiles
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.
This commit is contained in:
parent
a9ffb27289
commit
260108a586
1 changed files with 1 additions and 0 deletions
|
@ -4,4 +4,5 @@ build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- nix-channel --add https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz nixos && nix-channel --update && nix-env -i git
|
- 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
|
- nix-build -A deploy.all -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz
|
||||||
|
|
Loading…
Reference in a new issue