Commit Graph

14635 Commits

Author SHA1 Message Date
aszlig
f73851710e
audiofile: Use alsaLib for native Linux only.
Using ALSA for non-Linux systems really doesn't make much sense, so
using buildNativeInputs to ensure it won't be used for cross-builds.

Of course, if you're cross-building to Linux, the dependency won't be
used, but right now we don't have a good way to easily check whether the
cross target is Linux.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:48 +01:00
aszlig
5e95800f26
openssl: Use Darwin patch for cross-builds too.
Might be better to have something like stdenv.isDarwinTarget, which can
be used to test for native Darwin _and_ cross-built Darwin as a target.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:47 +01:00
aszlig
8c053312b5
zlib/cross: Fix build for Darwin.
Provide the correct cross ranlib, because native ranlib will fail.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:47 +01:00
aszlig
30962765e0
openssl/cross: Fix build for Darwin.
This is just a minor fix, because when using "darwin64-x86_64-cc" for
config.openssl.system, the OpenSSL build scripts try to compile with
$prefix-cc, which is not available with the gcc-cross-wrapper.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:47 +01:00
aszlig
3d73bf6c57
glew/cross: Fix build for Darwin.
The Makefile still contained calls to install with the -s (strip)
option, which we don't want because it uses the native strip utility and
we're going to crossStrip in fixupPhase later anyway.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:46 +01:00
aszlig
745c477930
lua5.2/cross: Fix build for Darwin.
The ld from cctools doesn't like the -soname argument, so let's strip it
off for now until we have a binutils <-> cctools bridge.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:46 +01:00
aszlig
a9ef42f33c
gcc-4.8: Add ObjC and ObjC++ support for Darwin.
Cross-compiling stuff against Mac OS X's CoreFoundation won't work
without ObjC support, and we don't want to compile commandline utilities
only, right?

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:45 +01:00
aszlig
9a0a85827c
gcc-4.8: Hook in cross-darwin libc and binutils.
Let's finally hook everything into the existing cross-building
infrastructure. We're using --with-sysroot instead of --with-headers
here, because the XCode SDK contains references to /usr/lib.

I've tried to patch those references, but unfortunately (at least with
install_name_tool) it isn't possible to change those refernces in stub
dylibs.

So after bugging @tpoechtrager with annoying questions (thanks again), I
think my initial approach (patching the SDK itself and/or regenerating
the dylib stubs) was way to complicated so I ended up with this
implementation.

Also, I've added a condition to binutilsCross to use cctools if the libc
is set to libSystem. This might need some cleanups someday, mainly to
figure out how to properly bridge cctools and binutils.

So, as an example on how to cross-compile GNU Hello to Darwin, you can
use something like this:

(import <nixpkgs> {
  crossSystem = {
    config = "x86_64-apple-darwin13";
    arch = "x86_64";
    libc = "libSystem";
    platform = {};
  };
}).hello.crossDrv

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:44 +01:00
aszlig
5e565754ab
Add new package "xpwn" from @dborca's fork.
This really hase some nice utilities for coping with HFS+ and DMG
format. We're going to use it for extracting the xcode DMG, but it could
be used for more, even generating DMGs.

The reason I'm using the fork instead of the repository from
@planetbeing is thet the fork contains a few fixes, especially for
dealing with symlinks in HFS+ images.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-03-12 10:00:43 +01:00
Peter Simons
2a46778cbf haskell-wizards: add version 1.0.1 2014-03-03 22:12:28 +01:00
Peter Simons
191dabf923 haskell-control-monad-free: add version 0.5.3 2014-03-03 22:12:28 +01:00
Peter Simons
513073afc1 haskell-scientific: jailbreak to fix build with recent versions of tasty 2014-03-03 22:12:28 +01:00
Peter Simons
cd262e8312 haskell-yesod-bin: update to version 1.2.6.1 2014-03-03 22:12:28 +01:00
Peter Simons
ae8d12259e haskell-yesod-auth: update to version 1.2.6 2014-03-03 22:12:28 +01:00
Peter Simons
63a72b6ea0 haskell-x509: update to version 1.4.10 2014-03-03 22:12:28 +01:00
Peter Simons
9dd8579769 haskell-utility-ht: update to version 0.0.10 2014-03-03 22:12:28 +01:00
Peter Simons
e74767282c haskell-shelly: update to version 1.4.4.2 2014-03-03 22:12:28 +01:00
Peter Simons
e84bb182b2 haskell-poppler: update to version 0.12.3 2014-03-03 22:12:28 +01:00
Peter Simons
18f1e8df59 haskell-pango: update to version 0.12.5.3 2014-03-03 22:12:28 +01:00
Peter Simons
867b2cb42f haskell-multiarg: update to version 0.26.0.0 2014-03-03 22:12:28 +01:00
Peter Simons
be693f08cb haskell-mono-traversable: update to version 0.3.1 2014-03-03 22:12:28 +01:00
Peter Simons
b6c59de551 haskell-miniutter: update to version 0.4.3.0 2014-03-03 22:12:28 +01:00
Peter Simons
011ca0210b haskell-http-reverse-proxy: update to version 0.3.0.1 2014-03-03 22:12:28 +01:00
Peter Simons
1095825fd2 haskell-gtk: update to version 0.12.5.4 2014-03-03 22:12:28 +01:00
Peter Simons
7e7dc6feff haskell-glib: update to version 0.12.5.3 2014-03-03 22:12:27 +01:00
Peter Simons
f488349682 haskell-gio: update to version 0.12.5.3 2014-03-03 22:12:27 +01:00
Peter Simons
b6c93edded haskell-crypto-pubkey-types: update to version 0.4.2.2 2014-03-03 22:12:27 +01:00
Peter Simons
2978b1c334 haskell-cairo: update to version 0.12.5.3 2014-03-03 22:12:27 +01:00
Peter Simons
eeb8e36bad haskell-base-compat: update to version 0.4.0 2014-03-03 22:12:27 +01:00
Peter Simons
a72f47b2f8 haskell-assert-failure: update to version 0.1.1.0 2014-03-03 22:12:27 +01:00
Peter Simons
9597c8f8fe haskell-SVGFonts: update to version 1.4.0.2 2014-03-03 22:12:27 +01:00
mornfall
17e32945a1 Merge pull request #1864 from ttuegel/arpack
arpack: version 3.1.5, fix pkgconfig
2014-03-03 20:37:56 +01:00
Oliver Charles
ef7a5deaee haskellPackages.stripe: New expression 2014-03-03 15:40:09 +00:00
Domen Kožar
83771bd926 add python 3.4.0rc2 2014-03-03 14:21:28 +01:00
Peter Simons
6422bd7ecd Merge pull request #1863 from ttuegel/gnuplot
Add haskell-gnuplot-0.5.2
2014-03-03 11:39:35 +01:00
Peter Simons
bc3008846d scons: update from 2.3.0 to 2.3.1 2014-03-03 11:10:26 +01:00
Peter Simons
691df2ab83 imlib2: update from 1.4.5 to 1.4.6 2014-03-03 11:10:24 +01:00
Thomas Tuegel
bb2d066140 Add haskell-gnuplot-0.5.2 2014-03-02 10:25:15 -06:00
Song Wenwu
08d739ea4c libass: update to 0.11.1, add more meta attributes
Close #1865.
2014-03-02 12:35:57 +01:00
Mathijs Kwik
cba5d36df1 haskell-parsers: remove old versions 2014-03-02 08:41:45 +01:00
Mathijs Kwik
13f8c07b54 haskell-trifecta: remove old versions 2014-03-02 08:41:45 +01:00
Thomas Tuegel
2bd2747a50 arpack: version 3.1.5, fix pkgconfig 2014-03-01 18:46:53 -06:00
Evgeny Egorochkin
399269e6e0 help2man: update from 1.43.3 to 1.44.1 2014-03-01 05:26:44 +02:00
Evgeny Egorochkin
26514f98d0 libinfinity: update from 0.5.4 to 0.5.5 2014-03-01 05:19:40 +02:00
Evgeny Egorochkin
e346341b95 libmemcached: update from 1.0.8 to 1.0.18 2014-03-01 05:17:16 +02:00
Peter Simons
2bbe313090 haskell-Chart: jailbreak to fix build with lens 4.x
Fixes <https://github.com/timbod7/haskell-chart/issues/21>.
2014-02-28 19:49:50 +01:00
Peter Simons
6478f4da81 haskell-largeword: update to version 1.1.1 2014-02-28 19:48:19 +01:00
Eelco Dolstra
6c77e15f19 doxygen: Remove 1.7
Current 1.8 seems to generate LaTeX output fine.
2014-02-28 18:33:45 +01:00
Eelco Dolstra
4c2d1184fa flashtool: Fix evaluation 2014-02-28 16:18:31 +01:00
Eelco Dolstra
ed4fd067bc doxygen: Update to 1.8.6 2014-02-28 16:18:31 +01:00