Merge pull request #307692 from OlivierLDff/date-version-fix-cmake

howard-hinnant-date: fix installed cmake version
This commit is contained in:
Ryan Burns 2024-04-29 17:20:23 -07:00 committed by GitHub
commit ce987aa9a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,13 @@ stdenv.mkDerivation rec {
src = ./make-zoneinfo-available.diff;
inherit tzdata;
})
# The reported version to cmake's find_package() is 3.0.0, but the actual
# version is 3.0.1. This patch fixes that.
(fetchpatch {
name = "fix-cmake-version.patch";
url = "https://github.com/HowardHinnant/date/commit/2e19c006e2218447ee31f864191859517603f59f.patch";
hash = "sha256-SRAWrwv64ap3Qh3RlhwqgS0L2YsrjqVSgw6iH3KlWvk=";
})
];
# Tweaks to fix undefined variable substitutions