mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
12 lines
351 B
Nix
12 lines
351 B
Nix
{ runCommand, openssh }:
|
|
|
|
runCommand "ssh-copy-id-${openssh.version}" {
|
|
meta = openssh.meta // {
|
|
description = "Tool to copy SSH public keys to a remote machine";
|
|
priority = (openssh.meta.priority or 0) - 1;
|
|
};
|
|
} ''
|
|
install -Dm 755 {${openssh},$out}/bin/ssh-copy-id
|
|
install -Dm 644 {${openssh},$out}/share/man/man1/ssh-copy-id.1.gz
|
|
''
|