Build without flake update asks for SSH key passphrase #13

Open
opened 2023-12-26 21:31:36 +00:00 by jordan · 1 comment
Owner

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 added the
infra/build
host
all
kind
bug
labels 2023-12-26 21:31:47 +00:00
jordan added this to the Config Improvements project 2023-12-26 21:31:52 +00:00
Author
Owner

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.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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