mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
range-v3: use -std=c++17
due to compilation error with gcc_13
This commit is contained in:
parent
b1e9a03960
commit
1bd5351012
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
|
|||||||
doCheck = !stdenv.isAarch64;
|
doCheck = !stdenv.isAarch64;
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
|
|
||||||
|
env = lib.optionalAttrs stdenv.cc.isGNU {
|
||||||
|
NIX_CFLAGS_COMPILE = "-std=c++17";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Experimental range library for C++11/14/17";
|
description = "Experimental range library for C++11/14/17";
|
||||||
homepage = "https://github.com/ericniebler/range-v3";
|
homepage = "https://github.com/ericniebler/range-v3";
|
||||||
|
Loading…
Reference in New Issue
Block a user