Skip to content

Commit e3cc568

Browse files
committed
try fix nix
1 parent 5fd1d0b commit e3cc568

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/matrix_builds.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ jobs:
282282
# Add nix to PATH for subsequent steps
283283
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
284284
echo "${HOME}/.nix-profile/bin" >> "$GITHUB_PATH"
285+
# Symlink nix binaries to /usr/local/bin for child processes
286+
for bin in /nix/var/nix/profiles/default/bin/*; do
287+
sudo ln -sf "$bin" /usr/local/bin/ 2>/dev/null || true
288+
done
285289
# Configure nix
286290
echo "access-tokens = github.com=${GITHUB_TOKEN}" | sudo tee -a /etc/nix/nix.conf
287291
# Set environment variables

0 commit comments

Comments
 (0)