ci: switch to nix builder
Signed-off-by: hexchen <hexchen@lilwit.ch>
This commit is contained in:
parent
e790e89057
commit
fd03b5dc9f
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue