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