From 7a47cb5e0564ed8050d7591029f71ee322757880 Mon Sep 17 00:00:00 2001 From: qubitnano <146656568+qubitnano@users.noreply.github.com> Date: Mon, 23 Dec 2024 23:04:00 -0500 Subject: [PATCH] shipwright: fix build on gcc14 --- pkgs/by-name/sh/shipwright/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/sh/shipwright/package.nix b/pkgs/by-name/sh/shipwright/package.nix index 97c32fbe7e3ed..3b47b20b8929c 100644 --- a/pkgs/by-name/sh/shipwright/package.nix +++ b/pkgs/by-name/sh/shipwright/package.nix @@ -6,6 +6,7 @@ lib, fetchFromGitHub, fetchurl, + fetchpatch, copyDesktopItems, makeDesktopItem, python3, @@ -43,6 +44,11 @@ stdenv.mkDerivation (finalAttrs: { patches = [ ./darwin-fixes.patch + (fetchpatch { + name = "gcc14.patch"; + url = "https://github.com/HarbourMasters/Shipwright/commit/1bc15d5bf3042d4fd64e1952eb68c47a7d5d8061.patch"; + hash = "sha256-OpjP+rGqx56DB4W8yzLkxuxSAQa6oXQqtbQ2cNcFjYQ="; + }) ]; # This would get fetched at build time otherwise, see: