3
0
Fork 0
forked from mirrors/nixpkgs

liboil: split into multiple outputs

This commit is contained in:
Vladimír Čunát 2015-10-06 17:03:27 +02:00
parent 55eb356b78
commit b95b0405b0

View file

@ -8,10 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "0sgwic99hxlb1av8cm0albzh8myb7r3lpcwxfm606l0bkc3h4pqh";
};
buildInputs = [ pkgconfig ];
patches = [ ./x86_64-cpuid.patch ];
outputs = [ "dev" "out" "doc" ]; # just dev-doc
outputBin = "dev"; # oil-bugreport
nativeBuildInputs = [ pkgconfig ];
# fix "argb_paint_i386.c:53:Incorrect register `%rax' used with `l' suffix"
# errors
configureFlags = stdenv.lib.optional stdenv.isDarwin "--build=x86_64";