Setting coreutils to 8.20 for linux, 8.19 for darwin

As Eelco noted in 0ecd1f62c7,
Darwin can't build 8.20. But linux can't build 8.19 now.
This commit is contained in:
Lluís Batlle i Rossell 2013-01-02 20:01:49 +01:00
parent 09d12cc9db
commit 9cc65f6893

View File

@ -570,10 +570,15 @@ let
convmv = callPackage ../tools/misc/convmv { }; convmv = callPackage ../tools/misc/convmv { };
coreutils = callPackage ../tools/misc/coreutils { coreutils = if stdenv.isDarwin then
# TODO: Add ACL support for cross-Linux. # 8.20 doesn't build on Darwin
aclSupport = crossSystem == null && stdenv.isLinux; (callPackage ../tools/misc/coreutils/8.19)
}; else
(callPackage ../tools/misc/coreutils)
{
# TODO: Add ACL support for cross-Linux.
aclSupport = crossSystem == null && stdenv.isLinux;
};
cpio = callPackage ../tools/archivers/cpio { }; cpio = callPackage ../tools/archivers/cpio { };