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: cache:
key: nixosisgreat key: nixosisgreat
paths: paths:
- /nix/store - /nix/store
build: build:
tag: nix
stage: build stage: build
script: 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-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