mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
gnome3.gdm: replace hardcoded paths
This commit is contained in:
parent
bdf1eaaf6d
commit
c9fe6567ed
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, fetchurl, pkgconfig, glib, itstool, libxml2, xorg, dbus
|
||||
, intltool, accountsservice, libX11, gnome3, systemd, autoreconfHook
|
||||
, gtk, libcanberra_gtk3, pam, libtool, gobjectIntrospection, plymouth
|
||||
, librsvg }:
|
||||
, librsvg, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
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"
|
||||
'';
|
||||
|
||||
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"
|
||||
"--localstatedir=/var"
|
||||
"--with-plymouth=yes"
|
||||
|
|
Loading…
Reference in a new issue