When there's no system-wide openssh installation, remote build fails.
Steps To Reproduce
Single-user nix setup in a clean debian sid container
Set up remote building config, and max-jobs = 0 to prevent local building
Build something, e.g. full texlive
Expected behavior
nix should perform remote build as expected. Instead, it fails with something like
these derivations will be built:
/nix/store/dj872la65ipl1m2rlp33xa5wamjpi75p-happy-1.20.0.drv
/nix/store/hzcaj0mfh447gw7n4pj9ja7wp783q2lv-fonts.conf.drv
cannot build on 'ssh://nix@build01.tweag.io': writing to file: Broken pipe: error: unable to execute 'ssh': No such file or directory
error: unable to start any build; either increase '--max-jobs' or enable remote builds
Installing nixpkgs.openssh into the user profile solves the issue, but I'd like to avoid adding things to my profile; ideally nix should use an openssh installation in the nix store automatically.
Describe the bug
When there's no system-wide
openssh
installation, remote build fails.Steps To Reproduce
max-jobs = 0
to prevent local buildingExpected behavior
nix
should perform remote build as expected. Instead, it fails with something likeInstalling
nixpkgs.openssh
into the user profile solves the issue, but I'd like to avoid adding things to my profile; ideallynix
should use anopenssh
installation in the nix store automatically.nix-env --version
output