From fcd0adc6ad8e840723a2879a5f07611be0fad6b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 4 Dec 2022 13:04:08 +0000 Subject: [PATCH] try sharing nix store between builds --- .woodpecker/sync.yml | 2 ++ .woodpecker/test.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.woodpecker/sync.yml b/.woodpecker/sync.yml index 40657987..bbd17ba6 100644 --- a/.woodpecker/sync.yml +++ b/.woodpecker/sync.yml @@ -9,3 +9,5 @@ pipeline: - nix --no-sandbox develop --eval-store ./nix-store -c git lfs fetch --all - nix --no-sandbox develop --eval-store ./nix-store -c git push github --all --force secrets: [ github_token ] + volumes: + - /var/lib/woodpecker/nix-store/:/nix/store diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index d981d036..750d90a9 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -8,3 +8,5 @@ pipeline: - nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos - nix --no-sandbox flake check --eval-store ./nix-store + volumes: + - /var/lib/woodpecker/nix-store/:/nix/store