mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
net-cpp: Force building with C++14.
This is to maintain compatibility with gtest 1.13+.
This commit is contained in:
parent
a331a49cf7
commit
ccb8f4f193
@ -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 ''
|
||||
|
Loading…
Reference in New Issue
Block a user