ci: switch to nix builder

Signed-off-by: hexchen <hexchen@lilwit.ch>
keep-around/c7fe6580f8d69b2bc233190da1db4d7d5d7658e2
hexchen 2020-11-29 15:51:32 +00:00
parent e790e89057
commit fd03b5dc9f
1 changed files with 2 additions and 4 deletions

View File

@ -1,13 +1,11 @@
image: nixos/nix:latest
cache:
key: nixosisgreat
paths:
- /nix/store
build:
tag: nix
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
- nix build -f . deploy.all -I nixpkgs=https://github.com/hexchen/nixpkgs/archive/hexchen-20.09.tar.gz