movit: fix darwin build

This commit is contained in:
Weijia Wang
2025-10-08 00:29:37 +02:00
parent 47780b3415
commit be1ff94ea6

View File

@@ -45,7 +45,8 @@ stdenv.mkDerivation rec {
libepoxy
];
env = {
env =
lib.optionalAttrs stdenv.cc.isGNU {
NIX_CFLAGS_COMPILE = "-std=c++17"; # needed for latest gtest
}
// lib.optionalAttrs stdenv.hostPlatform.isDarwin {