nix-community / nixpkgs-wayland

Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS. [maintainers=@colemickens, @Artturin]
510 stars 47 forks source link

waypipe: nixify hardwired /usr/bin/ssh #281

Closed b333z closed 3 years ago

b333z commented 3 years ago

Prior to this change, when using the waypipe ssh ... form to run waypipe, waypipe would fail to run ssh due to the path being hardcoded to /usr/bin/ssh.

This change adds openssh as a dep and uses it to patch the hardwired /usr/bin/ssh in waypipe.c.

https://gitlab.freedesktop.org/mstoeckl/waypipe/-/blob/cb173d0d9962a2e40001ec936ce72647b5d6a5ee/src/waypipe.c#L775

colemickens commented 3 years ago

Thanks!