boost: Fixes disabling for aarch64-linux for <1.59

Between 2b450377bf6e51cce0d831a88e74d5f61811b74d and the current
revision, the semantics behind "platforms" changed, and removing the
"aarch64-linux" string doesn't work anymore to filter it out.

Instead, blacklist the platform using the (comparatively) new
badPlatforms.
This commit is contained in:
Samuel Dionne-Riel 2018-12-09 21:19:27 -05:00
parent 38d6719cbc
commit 3487ff99da

View File

@ -111,7 +111,8 @@ stdenv.mkDerivation {
description = "Collection of C++ libraries";
license = stdenv.lib.licenses.boost;
platforms = (if versionOlder version "1.59" then remove "aarch64-linux" else id) (platforms.unix ++ platforms.windows);
platforms = (platforms.unix ++ platforms.windows);
badPlatforms = stdenv.lib.optional (versionOlder version "1.59") "aarch64-linux";
maintainers = with maintainers; [ peti wkennington ];
};