gnome3.gdm: replace hardcoded paths
This commit is contained in:
parent
bdf1eaaf6d
commit
c9fe6567ed
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
|
{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
|
||||||
, intltool, accountsservice, libX11, gnome3, systemd, autoreconfHook
|
, intltool, accountsservice, libX11, gnome3, systemd, autoreconfHook
|
||||||
, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection, plymouth
|
, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection, plymouth
|
||||||
, librsvg }:
|
, librsvg, coreutils }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit (import ./src.nix fetchurl) name src;
|
inherit (import ./src.nix fetchurl) name src;
|
||||||
|
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver.out}/bin/X"
|
substituteInPlace ./configure --replace "/usr/bin/X" "${xorg.xorgserver.out}/bin/X"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
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"
|
configureFlags = [ "--sysconfdir=/etc"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--with-plymouth=yes"
|
"--with-plymouth=yes"
|
||||||
|
|
Loading…
Reference in New Issue