diff --git a/pkgs/by-name/ph/phoc/package.nix b/pkgs/by-name/ph/phoc/package.nix index eb5d3c32b3c5..00460210ec8d 100644 --- a/pkgs/by-name/ph/phoc/package.nix +++ b/pkgs/by-name/ph/phoc/package.nix @@ -1,29 +1,30 @@ -{ lib -, stdenv -, stdenvNoCC -, fetchFromGitLab -, meson -, ninja -, pkg-config -, python3 -, wayland-scanner -, wrapGAppsHook3 -, libinput -, gobject-introspection -, mutter -, gnome-desktop -, glib -, gtk3 -, json-glib -, wayland -, libdrm -, libxkbcommon -, wlroots_0_17 -, xorg -, directoryListingUpdater -, nixosTests -, testers -, gmobile +{ + lib, + stdenv, + stdenvNoCC, + fetchFromGitLab, + meson, + ninja, + pkg-config, + python3, + wayland-scanner, + wrapGAppsHook3, + libinput, + gobject-introspection, + mutter, + gnome-desktop, + glib, + gtk3, + json-glib, + wayland, + libdrm, + libxkbcommon, + wlroots_0_17, + xorg, + directoryListingUpdater, + nixosTests, + testers, + gmobile, }: stdenv.mkDerivation (finalAttrs: { @@ -65,12 +66,12 @@ stdenv.mkDerivation (finalAttrs: { gmobile ]; - mesonFlags = ["-Dembed-wlroots=disabled"]; + mesonFlags = [ "-Dembed-wlroots=disabled" ]; # Patch wlroots to remove a check which crashes Phosh. # This patch can be found within the phoc source tree. wlroots = wlroots_0_17.overrideAttrs (old: { - patches = (old.patches or []) ++ [ + patches = (old.patches or [ ]) ++ [ (stdenvNoCC.mkDerivation { name = "0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch"; inherit (finalAttrs) src; @@ -94,7 +95,10 @@ stdenv.mkDerivation (finalAttrs: { mainProgram = "phoc"; homepage = "https://gitlab.gnome.org/World/Phosh/phoc"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ masipcat zhaofengli ]; + maintainers = with maintainers; [ + masipcat + zhaofengli + ]; platforms = platforms.linux; }; })