cpeditor: fixup build

cpeditor require c++14, the setting of CMAKE_CXX_STANDARD does not seem to affect submodules
This commit is contained in:
rewine 2023-06-27 10:52:13 +08:00
parent 71a84fc822
commit 2229c311e4
No known key found for this signature in database
GPG Key ID: AABB329787290824

View File

@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
substituteInPlace src/Core/Runner.cpp --replace "/bin/bash" "${runtimeShell}"
'';
env.NIX_CFLAGS_COMPILE = "-std=c++14";
meta = with lib; {
description = "An IDE specially designed for competitive programming";
homepage = "https://cpeditor.org";