diff --git a/pkgs/servers/mir/common.nix b/pkgs/servers/mir/common.nix index 37a428361018..87dd45711047 100644 --- a/pkgs/servers/mir/common.nix +++ b/pkgs/servers/mir/common.nix @@ -192,9 +192,7 @@ stdenv.mkDerivation (finalAttrs: { # does not know about preferred terminal "mir-shell" ]; - } // lib.optionalAttrs (!pinned) { - updateScript = ./update.sh; - }; + } // lib.optionalAttrs (!pinned) { updateScript = ./update.sh; }; meta = { description = "Display server and Wayland compositor developed by Canonical"; @@ -206,22 +204,23 @@ stdenv.mkDerivation (finalAttrs: { OPNA2608 ]; platforms = lib.platforms.linux; - pkgConfigModules = [ - "miral" - "mircommon" - "mircore" - "miroil" - "mirplatform" - "mir-renderer-gl-dev" - "mirrenderer" - "mirserver" - "mirtest" - "mirwayland" - ] ++ lib.optionals (lib.strings.versionOlder version "2.17.0") [ - "mircookie" - ] ++ lib.optionals (lib.strings.versionAtLeast version "2.17.0") [ - "mircommon-internal" - "mirserver-internal" - ]; + pkgConfigModules = + [ + "miral" + "mircommon" + "mircore" + "miroil" + "mirplatform" + "mir-renderer-gl-dev" + "mirrenderer" + "mirserver" + "mirtest" + "mirwayland" + ] + ++ lib.optionals (lib.strings.versionOlder version "2.17.0") [ "mircookie" ] + ++ lib.optionals (lib.strings.versionAtLeast version "2.17.0") [ + "mircommon-internal" + "mirserver-internal" + ]; }; })