From fa0903b95181e36fb6babd1816b32aee2368e99d Mon Sep 17 00:00:00 2001 From: maralorn Date: Sat, 17 Sep 2022 21:35:37 +0200 Subject: [PATCH] hedgewars: Disable autoupdate on darwin to fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On darwin cmake complains about missing Sparkle. Autoupdates don‘t seem important for a nixpkgs package, so we disable it. See: https://hydra.nixos.org/build/190503204/nixlog/4 for the error. --- pkgs/games/hedgewars/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/games/hedgewars/default.nix b/pkgs/games/hedgewars/default.nix index 04bed46f8b6ee..e829553aabc46 100644 --- a/pkgs/games/hedgewars/default.nix +++ b/pkgs/games/hedgewars/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DNOVERSIONINFOUPDATE=ON" "-DNOSERVER=${if withServer then "OFF" else "ON"}" + "-DNOAUTOUPDATE=${if stdenv.isDarwin then "ON" else "OFF"}" ]; NIX_LDFLAGS = lib.concatMapStringsSep " " (e: "-rpath ${e}/lib") [