DeterminateSystems / nix-installer-action

The Github Action for the Determinate Nix Installer
https://github.com/determinateSystems/nix-installer
GNU Lesser General Public License v2.1
158 stars 16 forks source link

DETERMINATE_NIX_KVM fixup, support Magic Nix Cache + FlakeHub Cache on Namespace runners #72

Closed grahamc closed 6 months ago

grahamc commented 6 months ago
Description

This PR fixes a glitch where we'd hilariously (...) set DETERMINATE_NIX_KVM to 0 or 1 depending on if KVM was available, and then immediately reset it to 0. Oops.

It also improves the ARC and Namespace support by bind-mounting more of the host into the process supervisor container, so post-build-hooks can function -- like the FlakeHub Cache runner. Further, it joins the nix-daemon's process into the host so the GitHub Actions Cache support works as expected.

Checklist