diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-06-11 18:39:23 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-06-11 18:47:17 +0200 |
commit | d8231a66ebb199fd5a1876ee0a9b3e3bf64dafc0 (patch) | |
tree | c93d87d553e630888326fd7d61f3b4693c203452 /pkgs/development/libraries/libelf | |
parent | b9049bff6dae594faf5dff17b21587532693848b (diff) | |
download | nixlib-d8231a66ebb199fd5a1876ee0a9b3e3bf64dafc0.tar nixlib-d8231a66ebb199fd5a1876ee0a9b3e3bf64dafc0.tar.gz nixlib-d8231a66ebb199fd5a1876ee0a9b3e3bf64dafc0.tar.bz2 nixlib-d8231a66ebb199fd5a1876ee0a9b3e3bf64dafc0.tar.lz nixlib-d8231a66ebb199fd5a1876ee0a9b3e3bf64dafc0.tar.xz nixlib-d8231a66ebb199fd5a1876ee0a9b3e3bf64dafc0.tar.zst nixlib-d8231a66ebb199fd5a1876ee0a9b3e3bf64dafc0.zip |
glibc: Split into multiple outputs
This reduces the size of closures a lot by getting rid of Glibc's header files, static libraries and utilities. For instance, the closure of GNU Hello went from 41 MiB to 22 MiB. TODO: We may want to merge back in parts of Glibc that we previously split off (such as the info files).
Diffstat (limited to 'pkgs/development/libraries/libelf')
-rw-r--r-- | pkgs/development/libraries/libelf/default.nix | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/development/libraries/libelf/default.nix b/pkgs/development/libraries/libelf/default.nix index 40eb2a10faf5..b37bf593c033 100644 --- a/pkgs/development/libraries/libelf/default.nix +++ b/pkgs/development/libraries/libelf/default.nix @@ -1,6 +1,6 @@ { fetchurl, stdenv, gettext }: -stdenv.mkDerivation (rec { +stdenv.mkDerivation rec { name = "libelf-0.8.13"; src = fetchurl { @@ -10,6 +10,11 @@ stdenv.mkDerivation (rec { doCheck = true; + # Libelf's custom NLS macros fail to determine the catalog file extension on + # Darwin, so disable NLS for now. + # FIXME: Eventually make Gettext a build input on all platforms. + configureFlags = stdenv.lib.optional stdenv.isDarwin "--disable-nls"; + meta = { description = "Libelf, an ELF object file access library"; @@ -21,12 +26,3 @@ stdenv.mkDerivation (rec { maintainers = [ stdenv.lib.maintainers.ludo ]; }; } - -// - -# Libelf's custom NLS macros fail to determine the catalog file extension on -# Darwin, so disable NLS for now. -# FIXME: Eventually make Gettext a build input on all platforms. -(if stdenv.isDarwin - then { configureFlags = [ "--disable-nls" ]; } - else { })) |