haccfiles/.gitlab-ci.yml
2020-11-29 04:34:41 +00:00

13 lines
470 B
YAML

image: nixos/nix:latest
cache:
key: nixosisgreat
paths:
- /nix/store
build:
stage: build
script:
- 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 -A deploy.all -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz