aboutsummaryrefslogtreecommitdiff
path: root/flakes/mypackages/pkgs/rrsync_sudo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flakes/mypackages/pkgs/rrsync_sudo/default.nix')
-rw-r--r--flakes/mypackages/pkgs/rrsync_sudo/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/flakes/mypackages/pkgs/rrsync_sudo/default.nix b/flakes/mypackages/pkgs/rrsync_sudo/default.nix
new file mode 100644
index 0000000..7a47320
--- /dev/null
+++ b/flakes/mypackages/pkgs/rrsync_sudo/default.nix
@@ -0,0 +1,8 @@
1{ rrsync }:
2
3rrsync.overrideAttrs(old: {
4 patches = old.patches or [] ++ [ ./sudo.patch ];
5 postPatch = old.postPatch + ''
6 substituteInPlace support/rrsync --replace /usr/bin/sudo /run/wrappers/bin/sudo
7 '';
8})