Skip to content

Commit

Permalink
udisks2: add gobjectIntrospection to nativeBuildInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrankenau authored and jtojnar committed Feb 25, 2018
1 parent 92f5b39 commit 2cc5ac2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/os-specific/linux/udisks/2-default.nix
@@ -1,6 +1,7 @@
{ stdenv, fetchurl, pkgconfig, intltool, gnused
, expat, acl, systemd, glib, libatasmart, polkit
, libxslt, docbook_xsl, utillinux, mdadm, libgudev
, gobjectIntrospection
}:

stdenv.mkDerivation rec {
Expand All @@ -11,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0spl155k0g2l2hvqf8xyjv08i68gfyhzpjva6cwlzxx0bz4gbify";
};

outputs = [ "out" "man" ];
outputs = [ "out" "man" "dev" ];

patches = [ ./force-path.patch ];

Expand All @@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
--replace " sed " " ${gnused}/bin/sed "
'';

nativeBuildInputs = [ pkgconfig intltool ];
nativeBuildInputs = [ pkgconfig intltool gobjectIntrospection ];

buildInputs = [ libxslt docbook_xsl libgudev expat acl systemd glib libatasmart polkit ];

Expand All @@ -38,6 +39,11 @@ stdenv.mkDerivation rec {
"--with-udevdir=$(out)/lib/udev"
];

makeFlags = [
"INTROSPECTION_GIRDIR=$(dev)/share/gir-1.0"
"INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
];

meta = {
homepage = http://www.freedesktop.org/wiki/Software/udisks;
description = "A daemon and command-line utility for querying and manipulating storage devices";
Expand Down

0 comments on commit 2cc5ac2

Please sign in to comment.