Commit 214a26c5 authored by Jan Tojnar's avatar Jan Tojnar
Browse files

gnome.gdm: Format with nixfmt

parent db9ae25d
Loading
Loading
Loading
Loading
+44 −34
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchurl
, fetchpatch
, substituteAll
, meson
, ninja
, pkg-config
, glib
, json-glib
, itstool
, xorg
, accountsservice
, libX11
, gnome
, systemd
, dconf
, gtk3
, libcanberra-gtk3
, pam
, libgudev
, libselinux
, keyutils
, audit
, gobject-introspection
, plymouth
, coreutils
, xorgserver
, xwayland
, dbus
, nixos-icons
, runCommand
{
  lib,
  stdenv,
  fetchurl,
  fetchpatch,
  substituteAll,
  meson,
  ninja,
  pkg-config,
  glib,
  json-glib,
  itstool,
  xorg,
  accountsservice,
  libX11,
  gnome,
  systemd,
  dconf,
  gtk3,
  libcanberra-gtk3,
  pam,
  libgudev,
  libselinux,
  keyutils,
  audit,
  gobject-introspection,
  plymouth,
  coreutils,
  xorgserver,
  xwayland,
  dbus,
  nixos-icons,
  runCommand,
}:

let
@@ -45,7 +46,10 @@ stdenv.mkDerivation (finalAttrs: {
  pname = "gdm";
  version = "46.2";

  outputs = [ "out" "dev" ];
  outputs = [
    "out"
    "dev"
  ];

  src = fetchurl {
    url = "mirror://gnome/sources/gdm/${lib.versions.major finalAttrs.version}/gdm-${finalAttrs.version}.tar.xz";
@@ -103,7 +107,13 @@ stdenv.mkDerivation (finalAttrs: {
    # Change hardcoded paths to nix store paths.
    (substituteAll {
      src = ./fix-paths.patch;
      inherit coreutils plymouth xorgserver xwayland dbus;
      inherit
        coreutils
        plymouth
        xorgserver
        xwayland
        dbus
        ;
    })

    # The following patches implement certain environment variables in GDM which are set by