haccfiles/.gitlab-ci.yml

14 lines
472 B
YAML
Raw Normal View History

2020-11-29 03:16:22 +00:00
image: nixos/nix:latest
2020-11-29 04:34:41 +00:00
cache:
key: nixosisgreat
paths:
- /nix/store
2020-11-29 03:16:22 +00:00
build:
stage: build
script:
2020-11-29 04:24:27 +00:00
- nix-channel --add https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz nixos && nix-channel --update && nix-env -iA nixos.git
- nix-instantiate -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz -A deploy.all
- nix build -f . deploy.all -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz