Merge pull request #290677 from simonhollingshead/net-cpp-gtest

net-cpp: Force building with C++14.
This commit is contained in:
Nikolay Korotkiy 2024-02-23 15:20:37 +04:00 committed by GitHub
commit 03d5be4b0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,11 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://salsa.debian.org/ubports-team/net-cpp/-/raw/941d9eceaa66a06eabb1eb79554548b47d4a60ab/debian/patches/1007_wait-for-flask.patch";
hash = "sha256-nsGkZBuqahsg70PLUxn5EluDjmfZ0/wSnOYimfAI4ag=";
})
# Bump std version to 14 for gtest 1.13+
(fetchpatch {
url = "https://salsa.debian.org/ubports-team/net-cpp/-/raw/f3a031eb7e4ce7df00781100f16de58a4709afcb/debian/patches/0001-Bump-std-version-to-14-needed-for-googletest-1.13.0.patch";
hash = "sha256-3ykqCfZjtTx7zWQ5rkMhVp7D5fkpoCjl0CVFwwEd4U4=";
})
];
postPatch = lib.optionalString finalAttrs.finalPackage.doCheck ''