lightdm-gtk-greeter: More fixes
This commit is contained in:
parent
fdd2b23c3e
commit
29a343656b
@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1134q8qd7gr34jkivqxckdnwbpa8pl7dhjpdi9fci0pcs4hh22jc";
|
sha256 = "1134q8qd7gr34jkivqxckdnwbpa8pl7dhjpdi9fci0pcs4hh22jc";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig lightdm intltool ]
|
buildInputs = [ pkgconfig lightdm intltool makeWrapper ]
|
||||||
++ (if useGTK2 then [ gtk2 makeWrapper ] else [ gtk3 ]);
|
++ (if useGTK2 then [ gtk2 ] else [ gtk3 ]);
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
substituteInPlace "$out/share/xgreeters/lightdm-gtk-greeter.desktop" \
|
substituteInPlace "$out/share/xgreeters/lightdm-gtk-greeter.desktop" \
|
||||||
--replace "Exec=lightdm-gtk-greeter" "Exec=$out/sbin/lightdm-gtk-greeter"
|
--replace "Exec=lightdm-gtk-greeter" "Exec=$out/sbin/lightdm-gtk-greeter"
|
||||||
'' + stdenv.lib.optionalString useGTK2 ''
|
|
||||||
wrapProgram "$out/sbin/lightdm-gtk-greeter" \
|
wrapProgram "$out/sbin/lightdm-gtk-greeter" \
|
||||||
--prefix XDG_DATA_DIRS ":" "${hicolor_icon_theme}/share"
|
--prefix XDG_DATA_DIRS ":" "${hicolor_icon_theme}/share"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user