diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2018-12-09 21:19:27 -0500 |
---|---|---|
committer | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2018-12-10 14:55:20 -0500 |
commit | 3487ff99dacc40d8c9be3563078ab3b2cd296459 (patch) | |
tree | 0bf758c943ce07c561ef889550998aefde1c7f84 /pkgs | |
parent | 38d6719cbc63db6b9346037d282748cc82be672b (diff) | |
download | nixlib-3487ff99dacc40d8c9be3563078ab3b2cd296459.tar nixlib-3487ff99dacc40d8c9be3563078ab3b2cd296459.tar.gz nixlib-3487ff99dacc40d8c9be3563078ab3b2cd296459.tar.bz2 nixlib-3487ff99dacc40d8c9be3563078ab3b2cd296459.tar.lz nixlib-3487ff99dacc40d8c9be3563078ab3b2cd296459.tar.xz nixlib-3487ff99dacc40d8c9be3563078ab3b2cd296459.tar.zst nixlib-3487ff99dacc40d8c9be3563078ab3b2cd296459.zip |
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.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/boost/generic.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index c79b874ecb69..3e488acee748 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -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 ]; }; |