lsyncd: build on darwin (#109981)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by

Nicolas Mattia
Sandro
and committed by
GitHub
e63d0738 31e38da7

+6 -2
+6 -2
pkgs/applications/networking/sync/lsyncd/default.nix
··· 25 25 --replace "/usr/bin/rsync" "${rsync}/bin/rsync" 26 26 ''; 27 27 28 + # Special flags needed on Darwin: 29 + # https://github.com/axkibe/lsyncd/blob/42413cabbedca429d55a5378f6e830f191f3cc86/INSTALL#L51 30 + cmakeFlags = lib.optional stdenv.isDarwin [ "-DWITH_INOTIFY=OFF" "-DWITH_FSEVENTS=ON" ]; 31 + 28 32 dontUseCmakeBuildDir = true; 29 33 30 34 buildInputs = [ ··· 36 40 meta = with lib; { 37 41 homepage = "https://github.com/axkibe/lsyncd"; 38 42 description = "A utility that synchronizes local directories with remote targets"; 39 - license = licenses.gpl2; 40 - platforms = platforms.linux; 43 + license = licenses.gpl2Plus; 44 + platforms = platforms.all; 41 45 maintainers = with maintainers; [ bobvanderlinden ]; 42 46 }; 43 47 }