haccfiles/.gitlab-ci.yml
hexchen 1c82f94bce ci: switch to nix build
nix-build just fills up the log beyond the limit that gitlab imposes on
CI builds.
2020-11-29 13:50:03 +00:00

14 lines
472 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 -f . deploy.all -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz