lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

rapidjson: make headers compliant with C++20

(by stealing the relevant patch from Fedora)

+8 -1
+8 -1
pkgs/development/libraries/rapidjson/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, pkg-config, cmake }: 1 + { stdenv, lib, fetchFromGitHub, fetchpatch, pkg-config, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "rapidjson"; ··· 10 10 rev = "v${version}"; 11 11 sha256 = "1jixgb8w97l9gdh3inihz7avz7i770gy2j2irvvlyrq3wi41f5ab"; 12 12 }; 13 + 14 + patches = [ 15 + (fetchpatch { 16 + url = "https://src.fedoraproject.org/rpms/rapidjson/raw/48402da9f19d060ffcd40bf2b2e6987212c58b0c/f/rapidjson-1.1.0-c++20.patch"; 17 + sha256 = "1qm62iad1xfsixv1li7qy475xc7gc04hmi2q21qdk6l69gk7mf82"; 18 + }) 19 + ]; 13 20 14 21 nativeBuildInputs = [ pkg-config cmake ]; 15 22