This commit is contained in:
Domen Kožar
2014-01-26 09:58:47 +01:00
17 changed files with 94 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, python, glib, intltool, pkgconfig
{ stdenv, fetchurl, makeWrapper, python, intltool, pkgconfig
, gnome3, dbus, libnotify, isocodes, gobjectIntrospection, wayland }:
stdenv.mkDerivation rec {
@@ -10,10 +10,10 @@ stdenv.mkDerivation rec {
sha256 = "1v4a9xv2k26g6ggk4282ynfvh68j2r5hg1cdpvnryfa8c2pkdaq2";
};
configureFlags = "--disable-gconf --enable-dconf --disable-memconf --enable-ui --enable-python-library";
configureFlags = "--enable-dconf --disable-memconf --enable-ui --enable-python-library";
buildInputs = [
makeWrapper python glib wayland
makeWrapper python gnome3.glib wayland
intltool pkgconfig gnome3.gtk2
gnome3.gtk3 dbus gnome3.dconf gnome3.gconf
libnotify isocodes gobjectIntrospection
@@ -22,8 +22,6 @@ stdenv.mkDerivation rec {
preBuild = "patchShebangs ./scripts";
postInstall = ''
#${glib}/bin/glib-compile-schemas $out/share/glib-2.0/schemas/
for f in "$out"/bin/*; do
wrapProgram "$f" --prefix XDG_DATA_DIRS : "$out/share"
done

View File

@@ -53,13 +53,10 @@ stdenv.mkDerivation rec {
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
"--with-polkitd-user=polkituser" #TODO? <nixos> config.ids.uids.polkituser
"--with-os-type=NixOS" # not recognized but prevents impurities on non-NixOS
"--enable-introspection"
];
makeFlags =
''
INTROSPECTION_GIRDIR=$(out)/share/gir-1.0
INTROSPECTION_TYPELIBDIR=$(out)lib/girepository-1.0
'';
makeFlags = "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0 INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0";
#doCheck = true; # some /bin/bash problem that isn't auto-solved by patchShebangs