ci: switch to nix builder

Signed-off-by: hexchen <hexchen@lilwit.ch>
This commit is contained in:
hexchen 2020-11-29 15:51:32 +00:00
parent e790e89057
commit fd03b5dc9f

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