c3d2-web: add atomic-rsync
This commit is contained in:
parent
251807cc75
commit
1c1131f86a
|
@ -186,6 +186,22 @@ in
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHIkIN1gi5cX2wV2WuNph/QzVK7vvYkvqnR/P69s36mZ drone@c3d2"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
(stdenv.mkDerivation {
|
||||
pname = "atomic-rsync";
|
||||
inherit (rsync) version src meta;
|
||||
|
||||
dontBuild = true;
|
||||
dontConfigure = true;
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
installPhase = ''
|
||||
substituteInPlace support/atomic-rsync \
|
||||
--replace /usr/bin/rsync rsync
|
||||
|
||||
install -Dm755 support/atomic-rsync -t $out/bin
|
||||
'';
|
||||
})
|
||||
libxslt
|
||||
libxml2
|
||||
rsync
|
||||
|
|
Loading…
Reference in New Issue