mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Coreutils update and Illumos compatibility fixes.
- GNU Coreutils 8.21 - Add is64Bit checks to stdenv for Solaris. - Fix OpenSSL Illumos build.
This commit is contained in:
parent
d505b8c490
commit
cf42601f92
@ -53,7 +53,9 @@ stdenv.mkDerivation {
|
||||
# On x86_64-darwin, "./config" misdetects the system as
|
||||
# "darwin-i386-cc". So specify the system type explicitly.
|
||||
configureScript =
|
||||
if stdenv.system == "x86_64-darwin" then "./Configure darwin64-x86_64-cc" else "./config";
|
||||
if stdenv.system == "x86_64-darwin" then "./Configure darwin64-x86_64-cc"
|
||||
else if stdenv.system == "x86_64-solaris" then "./Configure solaris64-x86_64-gcc"
|
||||
else "./config";
|
||||
|
||||
configureFlags = "shared --libdir=lib --openssldir=etc/ssl" +
|
||||
stdenv.lib.optionalString withCryptodev " -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS";
|
||||
|
@ -114,11 +114,13 @@ let
|
||||
isx86_64 = result.system == "x86_64-linux"
|
||||
|| result.system == "x86_64-darwin"
|
||||
|| result.system == "x86_64-freebsd"
|
||||
|| result.system == "x86_64-openbsd";
|
||||
|| result.system == "x86_64-openbsd"
|
||||
|| result.system == "x86_64-solaris";
|
||||
is64bit = result.system == "x86_64-linux"
|
||||
|| result.system == "x86_64-darwin"
|
||||
|| result.system == "x86_64-freebsd"
|
||||
|| result.system == "x86_64-openbsd";
|
||||
|| result.system == "x86_64-openbsd"
|
||||
|| result.system == "x86_64-solaris";
|
||||
isMips = result.system == "mips-linux"
|
||||
|| result.system == "mips64el-linux";
|
||||
isArm = result.system == "armv5tel-linux"
|
||||
|
@ -6,12 +6,12 @@
|
||||
assert aclSupport -> acl != null;
|
||||
assert selinuxSupport -> libselinux != null && libsepol != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "coreutils-8.20";
|
||||
stdenv.mkDerivation (rec {
|
||||
name = "coreutils-8.21";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/coreutils/${name}.tar.xz";
|
||||
sha256 = "1cly97xdy3v4nbbx631k43smqw0nnpn651kkprs0yyl2cj3pkjyv";
|
||||
sha256 = "064f512185iysqqcvhnhaf3bfmzrvcgs7n405qsyp99zmfyl9amd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
@ -67,4 +67,8 @@ stdenv.mkDerivation rec {
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
};
|
||||
}
|
||||
|
||||
# May have some issues with root compilation because the bootstrap tool
|
||||
# cannot be used as a login shell for now.
|
||||
// stdenv.lib.optionalAttrs (stdenv.system == "armv7l-linux" || stdenv.isSunOS) {
|
||||
FORCE_UNSAFE_CONFIGURE = 1;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user