lol
1{ runCommand, openssh }:
2
3runCommand "ssh-copy-id-${openssh.version}" {
4 meta = openssh.meta // {
5 description = "A tool to copy SSH public keys to a remote machine";
6 priority = (openssh.meta.priority or 0) - 1;
7 };
8} ''
9 install -Dm 755 {${openssh},$out}/bin/ssh-copy-id
10 install -Dm 644 {${openssh},$out}/share/man/man1/ssh-copy-id.1.gz
11''