movit: fix build

This commit is contained in:
K900
2025-07-11 22:25:16 +03:00
parent 2946b72b95
commit fffb2a771a
+3 -1
View File
@@ -45,7 +45,9 @@ stdenv.mkDerivation rec {
libepoxy
];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
env = {
NIX_CFLAGS_COMPILE = "-std=c++17"; # needed for latest gtest
} // lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_LDFLAGS = "-framework OpenGL";
};