Skip to content

Commit

Permalink
feat(src): remove rsync from runtimeDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
Prince213 authored and mergify[bot] committed May 26, 2024
1 parent 62e554d commit 131a6e3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv
, openssh
, gitMinimal
, rsync
, nixVersions
, nix
, coreutils
Expand All @@ -28,7 +27,6 @@ let
findutils
gnused # needed by ssh-copy-id
sshpass # used to provide password for ssh-copy-id
rsync # used to upload extra-files
];
in
stdenv.mkDerivation {
Expand All @@ -41,8 +39,6 @@ stdenv.mkDerivation {
# We prefer the system's openssh over our own, since it might come with features not present in ours:
# https://github.com/nix-community/nixos-anywhere/issues/62
#
# We also prefer system rsync to prevent crashes between rsync and ssh.
makeShellWrapper $out/libexec/nixos-anywhere/nixos-anywhere.sh $out/bin/nixos-anywhere \
--prefix PATH : ${lib.makeBinPath runtimeDeps} --suffix PATH : ${lib.makeBinPath [ openssh ]}
'';
Expand Down

0 comments on commit 131a6e3

Please sign in to comment.