Error when installing flox with the Nix-Generic method

I installed nix 2.24.5 using the Determinate Installer on my system (Ubuntu 22.04-based distro).

I then followed these instructions of the flox documentation. I configured the substituters in the nix.conf file and restarted the nix-daemon. No error so far.

The next command (nix profile install --experimental-features "nix-command flakes" --accept-flake-config 'github:flox/flox') gave me the following error, though:

nix profile install --experimental-features “nix-command flakes” --accept-flake-config ‘github:flox/flox’
error:

  … while fetching the input 'github:flox/flox'

 error: unable to download 'https://api.github.com/repos/flox/flox/commits/HEAD': Problem with the SSL CA cert (path? access rights?) (77)

Reading this thread made me try to install and authenticate with the github-cli but with no success.

Has anybody else met this issue?

Thanks for your help

will take a look and get back to you shortly!

1 Like

what you never want to hear is “it works on my computer” but unfortunately it does on my debian machine with a determinate-provided Nix (aarch64). maybe take a good close look at your /etc/nix/nix.conf and make sure the substitutors is set correctly?

I ultimately ended up with this configuration, if it helps at all

if you’re still stuck let us know and we can engage more minds on our side!

Thanks for the quick reply.

I compared our /etc/nix/nix/conf and both contents are identical. Just in case, I’ve restarted my computer as it sometimes solve problems… And it dit it again. Should have done that in first place, apparently. Lesson learned until the next time.

Sorry to have bothered you for such a dumb thing, feel a bit embarassed right now.

1 Like

ah, glad it’s working! not a bother at all