From de77414845423a193b82b421452a157b796303b9 Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Sun, 17 Mar 2024 22:09:31 +0100 Subject: [PATCH] cicd: Try fix test that fails on MacOS 11/nix 2.21.0 --- .github/workflows/cicd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 9c7ba23..b46974c 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -75,9 +75,9 @@ jobs: run: nix-build -v --version - name: Add to store run: | - file="$(mktemp)" + file="$RANDOM" echo "$RANDOM" > "$file" - path="$(nix-store --add "$file")" + path="$(nix-store --add "./$file")" mkdir -p ~/.cache/nix ln -s "$path" ~/.cache/nix/test-path