Build without flake update asks for SSH key passphrase #13

Open
opened 2023-12-26 21:31:36 +00:00 by jordan · 1 comment
jordan commented 2023-12-26 21:31:36 +00:00 (Migrated from git.vimium.com)

Pulling the latest nix-config and running sudo nixos-rebuild switch --flake . will prompt for the SSH key passphrase (to pull updated inputs).

Running nix flake update beforehand resolves this.

Pulling the latest `nix-config` and running `sudo nixos-rebuild switch --flake .` will prompt for the SSH key passphrase (to pull updated inputs). Running `nix flake update` beforehand resolves this.
jordan commented 2024-05-18 09:10:07 +01:00 (Migrated from git.vimium.com)

This also manifests on the Nix gitea-runner. When a git+ssh flake input is updated, but not present in the Nix store on the runner... nix flake check fails with:

error: cannot run ssh: No such file or directory
fatal: unable to fork

as seen in this run.

Related GitHub issue: https://github.com/NixOS/nix/issues/9133

This also manifests on the Nix gitea-runner. When a `git+ssh` flake input is updated, but not present in the Nix store on the runner... `nix flake check` fails with: ``` error: cannot run ssh: No such file or directory fatal: unable to fork ``` as seen in [this run](https://git.vimium.com/jordan/nix-config/actions/runs/10). Related GitHub issue: https://github.com/NixOS/nix/issues/9133
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jordan/nix-config#13
No description provided.