From 1d837b10941acd8eaa6b40cd3561cc1d553bdb22 Mon Sep 17 00:00:00 2001 From: Bart Koolen Date: Thu, 16 Apr 2026 16:20:22 +0200 Subject: [PATCH] Test caching --- .forgejo/workflows/nix-check.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/nix-check.yaml b/.forgejo/workflows/nix-check.yaml index 5818d19..da3bb42 100644 --- a/.forgejo/workflows/nix-check.yaml +++ b/.forgejo/workflows/nix-check.yaml @@ -4,8 +4,10 @@ jobs: print-content: runs-on: nix-runner steps: - - name: Dump Environment Variables - run: env | sort + - name: Test Nix Caching + run: | + # 1. Check time to 'fetch' a package the host already has + time nix shell nixpkgs#p7zip --command 7z --help - name: Run hello run: /nix/store/aiblla3swfhcv348k8h10mnsg35wzvm6-hello-2.12.2/bin/hello