From fc955dc923a00a3c1be78a98c060ef976a200aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 25 Dec 2022 16:36:22 +0000 Subject: [PATCH] try to configure store for the duration of the build --- .woodpecker/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 97abd392..5aafd270 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -4,8 +4,10 @@ pipeline: image: nixpkgs/nix-flakes:latest pull: true commands: + - mkdir -p ~/.config/nix + - echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf - time nix flake metadata - - time nix --no-sandbox develop --eval-store /var/build-nix-store -c statix check - - time nix flake check --eval-store /var/build-nix-store + - time nix --no-sandbox develop -c statix check + - time nix flake check volumes: - /var/lib/woodpecker/nix-store:/var/build-nix-store \ No newline at end of file