zug: fix build on darwin

The bazel configuration file `BUILD` conflicts with the build folder
that should be created. Its fine to just remove it since we are not
using bazel to build this package.
This commit is contained in:
Jeremy Stucki 2024-11-23 12:05:11 +01:00
parent f34aac0ca9
commit 81e3acd7c4
No known key found for this signature in database

View File

@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
cmakeFlags = [ cmakeFlags = [
"-Dzug_BUILD_EXAMPLES=OFF" "-Dzug_BUILD_EXAMPLES=OFF"
]; ];
preConfigure = ''
rm BUILD
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/arximboldi/zug"; homepage = "https://github.com/arximboldi/zug";
description = "library for functional interactive c++ programs"; description = "library for functional interactive c++ programs";