movit: fix darwin build
This commit is contained in:
@@ -45,7 +45,8 @@ stdenv.mkDerivation rec {
|
|||||||
libepoxy
|
libepoxy
|
||||||
];
|
];
|
||||||
|
|
||||||
env = {
|
env =
|
||||||
|
lib.optionalAttrs stdenv.cc.isGNU {
|
||||||
NIX_CFLAGS_COMPILE = "-std=c++17"; # needed for latest gtest
|
NIX_CFLAGS_COMPILE = "-std=c++17"; # needed for latest gtest
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
// lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||||
|
|||||||
Reference in New Issue
Block a user