From 81e3acd7c4780ec8853ba9a119fcb21ad42b6a07 Mon Sep 17 00:00:00 2001 From: Jeremy Stucki Date: Sat, 23 Nov 2024 12:05:11 +0100 Subject: [PATCH] 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. --- pkgs/by-name/zu/zug/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/zu/zug/package.nix b/pkgs/by-name/zu/zug/package.nix index 0c03178b3504..509545c1ffa9 100644 --- a/pkgs/by-name/zu/zug/package.nix +++ b/pkgs/by-name/zu/zug/package.nix @@ -24,6 +24,9 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-Dzug_BUILD_EXAMPLES=OFF" ]; + preConfigure = '' + rm BUILD + ''; meta = with lib; { homepage = "https://github.com/arximboldi/zug"; description = "library for functional interactive c++ programs";