Skip to content

Commit

Permalink
rsync: skip runtime ipv6 configure check
Browse files Browse the repository at this point in the history
Rsync does a runtime check for ipv6 availability unless explicitly
enabled/disabled, leading to a diverged build between machines if one
machine has `ipv6.disable=1` kernel commandline on linux.

Skip the check by always enabling it.

Ref: RsyncProject/rsync#675
Fix: NixOS#360152
Signed-off-by: Peter Waller <[email protected]>
  • Loading branch information
pwaller committed Nov 30, 2024
1 parent 4e0999e commit b616fe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/applications/networking/sync/rsync/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
(lib.enableFeature enableOpenSSL "openssl")
(lib.enableFeature enableXXHash "xxhash")
(lib.enableFeature enableZstd "zstd")
(lib.enableFeature true "ipv6")
"--with-nobody-group=nogroup"

# disable the included zlib explicitly as it otherwise still compiles and
Expand Down

0 comments on commit b616fe3

Please sign in to comment.