mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Review dbus-lib expression
* Move pkgconfig to buildNativeInputs svn path=/nixpkgs/branches/stdenv-updates/; revision=30895
This commit is contained in:
parent
5c507048dd
commit
14bbbbbed2
1 changed files with 6 additions and 2 deletions
|
@ -17,7 +17,9 @@ in rec {
|
|||
libs = stdenv.mkDerivation {
|
||||
name = "dbus-library-" + version;
|
||||
|
||||
buildInputs = [ pkgconfig expat ];
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ expat ];
|
||||
|
||||
inherit src patches configureFlags;
|
||||
|
||||
|
@ -42,7 +44,9 @@ in rec {
|
|||
|
||||
configureFlags = "${configureFlags} --with-dbus-daemondir=${daemon}/bin";
|
||||
|
||||
buildInputs = [ pkgconfig expat libs ]
|
||||
buildNativeInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ expat libs ]
|
||||
++ stdenv.lib.optionals useX11 [ libX11 libICE libSM ];
|
||||
|
||||
NIX_LDFLAGS = "-ldbus-1";
|
||||
|
|
Loading…
Reference in a new issue