You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because FlakeHub Cache does not offer any public caches, upgrading Determinate Nix requires being logged in to FlakeHub to download Determinate Nix. This is ... not ideal, to say the least.
Furthermore, users adopting Determinate Nix on NixOS have to compile Determinate Nix themselves the first time, and subsequent times if they don't ultimately log in. Also not great!
A couple options we're looking at to fix this:
Make a tarball of signed store paths that can be imported to the store, served by install.determinate.systems
Expose a subset of FlakeHub Cache's Determinate Nix cache slice to unauthenticated users via a proxy on install.determinate.systems, using resolve-only/fetch-only tokens.
(very much not preferred) exposing some slices on cache.flakehub.com to unauthenticated users.
Reacted by bebstein-pass, Daniel Jomphe, David Acevedo, Ben Chand, Nick Braga, adamjhf, Edoardo Debenedetti, Maëlys Bras de fer, pacaroha, Robert U and 7 more
This has affected me, and I just wanted to say that I'm glad for how this has been a priority, and that a partial fix/workaround is already available. I'm also looking forward to whatever the more complete solution will be. :)
Activity
grahamc commentedon May 15, 2025
Most users can upgrade by first running
determinate-nixd login. macOS users can re-run the macOS package from https://docs.determinate.systems/.We're still working on making this actually good.
grahamc commentedon Jun 3, 2025
This is partially solved in Determinate Nix 3.6.1. You can upgrade without authentication by specifying install.determinate.systems as a binary cache:
dsalaza4 commentedon Jun 5, 2025
@grahamc How does this connect with the provided script for automatic installation via MDM at https://docs.determinate.systems/guides/mdm/?
I am not sure if users would also have to be logged in so the MDM can update det nix 🤔
therealpxc commentedon Jun 24, 2025
This has affected me, and I just wanted to say that I'm glad for how this has been a priority, and that a partial fix/workaround is already available. I'm also looking forward to whatever the more complete solution will be. :)
grahamc commentedon Sep 4, 2025
Hey folks,
This has been solved for some time now.
On NixOS, upgrade your
determinateflake input, upgrade via:and then you shouldn't need to set these options again in the future.
On macOS, the best way to upgrade is to run the latest macOS package once: https://docs.determinate.systems/ ...and from then on you can either run the most recent package, or
determinate-nixd upgrade.On Linux generally, the best option is to just log in and upgrade. If you don't want to do that, the safest option is to uninstall Determinate Nix and reinstall. However, it is very probable that following these migration steps will work: https://docs.determinate.systems/guides/migrating-from-upstream-nix#linux-not-nixos