about summary refs log tree commit diff
path: root/pkgs/development/libraries/spice-gtk
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-03-22 09:54:22 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-03-22 10:32:24 +0100
commit80ce3389405a0876edd1543eb44b30c402723a92 (patch)
tree6677f2cb6294b936390a74124cf572e661ac64f7 /pkgs/development/libraries/spice-gtk
parent319495164ca24744feb18b66e3b4e251d2c29077 (diff)
spice-gtk: clean up
Diffstat (limited to 'pkgs/development/libraries/spice-gtk')
-rw-r--r--pkgs/development/libraries/spice-gtk/default.nix13
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgs/development/libraries/spice-gtk/default.nix b/pkgs/development/libraries/spice-gtk/default.nix
index a626abc6577b1..f9b3de36b2c49 100644
--- a/pkgs/development/libraries/spice-gtk/default.nix
+++ b/pkgs/development/libraries/spice-gtk/default.nix
@@ -19,23 +19,18 @@ in stdenv.mkDerivation rec {
   };
 
   buildInputs = [
-    spice-protocol celt_0_5_1 openssl libpulseaudio pixman gobjectIntrospection
+    spice-protocol celt_0_5_1 openssl libpulseaudio pixman
     libjpeg_turbo zlib cyrus_sasl python pygtk usbredir gtk3 epoxy
     polkit acl usbutils
   ];
 
-  nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala ];
+  nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala gobjectIntrospection ];
 
-  NIX_CFLAGS_COMPILE = "-fno-stack-protector";
-
-  # put polkit action in the $out/share/polkit-1/actions
-  preAutoreconf = ''
-    substituteInPlace configure.ac \
-      --replace 'POLICYDIR=`''${PKG_CONFIG} polkit-gobject-1 --variable=policydir`' "POLICYDIR=$out/share/polkit-1/actions"
-  '';
+  PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder "out"}/share/polkit-1/actions";
 
   configureFlags = [
     "--with-gtk3"
+    "--enable-introspection"
     "--enable-vala"
   ];