From fd03b5dc9f6305418ed1438364c9fc45bd8db20c Mon Sep 17 00:00:00 2001 From: hexchen Date: Sun, 29 Nov 2020 15:51:32 +0000 Subject: [PATCH] ci: switch to nix builder Signed-off-by: hexchen --- .gitlab-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0895aa..6a1d61b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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