Commit be1ff94e authored by Weijia Wang's avatar Weijia Wang
Browse files

movit: fix darwin build

parent 47780b34
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -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 {