From 8ed45f27c1bb1be6d640fa62cc6b0ac44dfd4b6e Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 23 Oct 2024 00:44:05 +0200 Subject: [PATCH] ci: simplify pipelines --- .woodpecker/ci.yaml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/.woodpecker/ci.yaml b/.woodpecker/ci.yaml index 9fb1152..3099d84 100644 --- a/.woodpecker/ci.yaml +++ b/.woodpecker/ci.yaml @@ -6,28 +6,6 @@ when: steps: check: - image: alpine - volumes: - - nix:/nix + image: docker.io/nixpkgs/nix-flakes:nixos-24.05 commands: - # install nix - - | - test -f /nix/installer || wget -O /nix/installer https://github.com/DeterminateSystems/nix-installer/releases/download/v0.18.0/nix-installer-x86_64-linux - chmod +x /nix/installer - rm -f /nix/receipt.json /nix/nix-installer - /nix/installer install linux --init=none --no-confirm - . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh - - # configure nix - - | - mkdir -p /etc/nix - cat < /etc/nix/nix.conf - sandbox = false - experimental-features = nix-command flakes - EOF - - # build - - nix build . - - # check - nix flake check