From 58f77ba4c4f10295c54bbf6571e568b175e85cd9 Mon Sep 17 00:00:00 2001 From: klarkc Date: Fri, 22 Dec 2023 01:31:42 -0300 Subject: [PATCH] ci(test): add from and flags --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 938dd57..f9564f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: DeterminateSystems/nix-installer-action@main + nix-installer-tag: v0.10.0 + extra-conf: extra-experimental-features = nix-command flakes impure-derivations - uses: webfactory/ssh-agent@v0.8.0 with: ssh-private-key: ${{ secrets.BUILDER_TOKEN }} @@ -21,5 +23,5 @@ jobs: ssh-keyscan cache.tcp4.me >> ~/.ssh/known_hosts TARGET="ssh-ng://builder@cache.tcp4.me" # took this filter list from cachix action - find /nix/store -mindepth 1 -maxdepth 1 -type d -not -name ".*" -not -name "*.{drv,drv.chroot,check,lock}" -print -exec nix copy --to $TARGET {} \; + find /nix/store -mindepth 1 -maxdepth 1 -type d -not -name ".*" -not -name "*.{drv,drv.chroot,check,lock}" -print -exec nix copy --to $TARGET --from {} \;