Merge pull request #184332 from wegank/gnome-desktop-darwin

gnome-desktop: add darwin support

authored by Jan Tojnar and committed by GitHub f310f24f c3aada9d

+8 -4
+8 -4
pkgs/development/libraries/gnome-desktop/default.nix
··· 36 sha256 = "sha256-2lBBC48Z/X53WwDR/g26Z/xeEVHe0pkVjcJd2tw/qKk="; 37 }; 38 39 - patches = [ 40 (substituteAll { 41 src = ./bubblewrap-paths.patch; 42 bubblewrap_bin = "${bubblewrap}/bin/bwrap"; ··· 58 ]; 59 60 buildInputs = [ 61 - bubblewrap 62 xkeyboard_config 63 libxkbcommon # for xkbregistry 64 isocodes 65 - wayland 66 gtk3 67 gtk4 68 glib 69 libseccomp 70 systemd 71 ]; ··· 79 "-Ddesktop_docs=false" 80 "-Ddate_in_gnome_version=false" 81 "-Dgnome_distributor=NixOS" 82 ]; 83 84 separateDebugInfo = stdenv.isLinux; ··· 93 description = "Library with common API for various GNOME modules"; 94 homepage = "https://gitlab.gnome.org/GNOME/gnome-desktop"; 95 license = with licenses; [ gpl2Plus lgpl2Plus ]; 96 - platforms = platforms.linux; 97 maintainers = teams.gnome.members; 98 }; 99 }
··· 36 sha256 = "sha256-2lBBC48Z/X53WwDR/g26Z/xeEVHe0pkVjcJd2tw/qKk="; 37 }; 38 39 + patches = lib.optionals stdenv.isLinux [ 40 (substituteAll { 41 src = ./bubblewrap-paths.patch; 42 bubblewrap_bin = "${bubblewrap}/bin/bwrap"; ··· 58 ]; 59 60 buildInputs = [ 61 xkeyboard_config 62 libxkbcommon # for xkbregistry 63 isocodes 64 gtk3 65 gtk4 66 glib 67 + ] ++ lib.optionals stdenv.isLinux [ 68 + bubblewrap 69 + wayland 70 libseccomp 71 systemd 72 ]; ··· 80 "-Ddesktop_docs=false" 81 "-Ddate_in_gnome_version=false" 82 "-Dgnome_distributor=NixOS" 83 + ] ++ lib.optionals (!stdenv.isLinux) [ 84 + "-Dsystemd=disabled" 85 + "-Dudev=disabled" 86 ]; 87 88 separateDebugInfo = stdenv.isLinux; ··· 97 description = "Library with common API for various GNOME modules"; 98 homepage = "https://gitlab.gnome.org/GNOME/gnome-desktop"; 99 license = with licenses; [ gpl2Plus lgpl2Plus ]; 100 + platforms = platforms.unix; 101 maintainers = teams.gnome.members; 102 }; 103 }