diff options
author | Jason "Don" O'Conal <lovek323@gmail.com> | 2013-07-03 19:52:46 +1000 |
---|---|---|
committer | Jason "Don" O'Conal <lovek323@gmail.com> | 2013-07-03 19:57:38 +1000 |
commit | bdf5a5c20e8912f3e8115b9c7f9176da91fcacf3 (patch) | |
tree | b106c3180ddc97906544aa986849937eb86fe90e /pkgs/development/libraries/liboil | |
parent | 72a771b6e4b3583a3f8b5ae118b60fc16b012ac9 (diff) | |
download | nixlib-bdf5a5c20e8912f3e8115b9c7f9176da91fcacf3.tar nixlib-bdf5a5c20e8912f3e8115b9c7f9176da91fcacf3.tar.gz nixlib-bdf5a5c20e8912f3e8115b9c7f9176da91fcacf3.tar.bz2 nixlib-bdf5a5c20e8912f3e8115b9c7f9176da91fcacf3.tar.lz nixlib-bdf5a5c20e8912f3e8115b9c7f9176da91fcacf3.tar.xz nixlib-bdf5a5c20e8912f3e8115b9c7f9176da91fcacf3.tar.zst nixlib-bdf5a5c20e8912f3e8115b9c7f9176da91fcacf3.zip |
liboil: fix build on darwin
* force --build=x86_64
Diffstat (limited to 'pkgs/development/libraries/liboil')
-rw-r--r-- | pkgs/development/libraries/liboil/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/development/libraries/liboil/default.nix b/pkgs/development/libraries/liboil/default.nix index 45f75b4f8052..de2ffdffca76 100644 --- a/pkgs/development/libraries/liboil/default.nix +++ b/pkgs/development/libraries/liboil/default.nix @@ -12,9 +12,15 @@ stdenv.mkDerivation rec { patches = [ ./x86_64-cpuid.patch ]; - meta = { - homepage = http://liboil.freedesktop.org; + # fix "argb_paint_i386.c:53:Incorrect register `%rax' used with `l' suffix" + # errors + configureFlags = stdenv.lib.optional stdenv.isDarwin "--build=x86_64"; + + meta = with stdenv.lib; { description = "A library of simple functions that are optimized for various CPUs"; - license = "BSD-2"; + homepage = http://liboil.freedesktop.org; + license = libraries.bsd2; + maintainers = with maintainers; [ lovek323 ]; + platforms = platforms.all; }; } |