···
{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
, intltool, accountsservice, libX11, gnome3, systemd, autoreconfHook
, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection, plymouth
stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) name src;
···
# Only needed to make it build
substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver.out}/bin/X"
configureFlags = [ "--sysconfdir=/etc"
···
{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
, intltool, accountsservice, libX11, gnome3, systemd, autoreconfHook
, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection, plymouth
+
, librsvg, coreutils }:
stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) name src;
···
# Only needed to make it build
substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver.out}/bin/X"
+
substituteInPlace daemon/gdm-manager.c --replace "/bin/plymouth" "${plymouth}/bin/plymouth"
+
substituteInPlace data/gdm.service.in --replace "/bin/kill" "${coreutils}/bin/kill"
configureFlags = [ "--sysconfdir=/etc"