Remove support for the obsolete powerpc-darwin and i686-darwin platforms
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ fetchurl, stdenv }:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libiconv-1.13.1";
|
||||
|
||||
src = fetchurl {
|
||||
@@ -8,6 +8,12 @@ stdenv.mkDerivation (rec {
|
||||
sha256 = "0jcsjk2g28bq20yh7rvbn8xgq6q42g8dkkac0nfh12b061l638sm";
|
||||
};
|
||||
|
||||
# On Cygwin, Libtool produces a `.dll.a', which is not a "real" DLL
|
||||
# (Windows' linker would need to be used somehow to produce an actual
|
||||
# DLL.) Thus, build the static library too, and this is what Gettext
|
||||
# will actually use.
|
||||
configureFlags = stdenv.lib.optional stdenv.isCygwin [ "--enable-static" ];
|
||||
|
||||
meta = {
|
||||
description = "GNU libiconv, an iconv(3) implementation";
|
||||
|
||||
@@ -27,16 +33,6 @@ stdenv.mkDerivation (rec {
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
|
||||
# This library is not needed on GNU platforms.
|
||||
platforms = [ "i686-cygwin" "i686-darwin" ];
|
||||
platforms = [ "i686-cygwin" ];
|
||||
};
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
stdenv.lib.optionalAttrs stdenv.isCygwin {
|
||||
# On Cygwin, Libtool produces a `.dll.a', which is not a "real" DLL
|
||||
# (Windows' linker would need to be used somehow to produce an actual
|
||||
# DLL.) Thus, build the static library too, and this is what Gettext
|
||||
# will actually use.
|
||||
configureFlags = [ "--enable-static" ];
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user