diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-12-12 07:53:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 07:53:08 +0800 |
commit | 45206ebbf8280f18b6d713e7db8d74eea721e4a4 (patch) | |
tree | 8459e54efc5ed50b7bb6de7a6bde5cbe92703f1c /pkgs/applications/editors | |
parent | c23c5dae44c661c5fd1f2e1458749181d8822111 (diff) | |
parent | 336c61e279883af1f0ec7b2295161ca71418248f (diff) |
Merge pull request #273571 from bobby285271/upd/cinnamon-libxml2-fix
xed-editor: Backport libxml2 2.12 build fix
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/xed-editor/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/editors/xed-editor/default.nix b/pkgs/applications/editors/xed-editor/default.nix index a99eae639f029..08d4eeb469d07 100644 --- a/pkgs/applications/editors/xed-editor/default.nix +++ b/pkgs/applications/editors/xed-editor/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, fetchpatch , libxml2 , libpeas , glib @@ -28,6 +29,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-IpUBB7Viwc/nRfwzFllRiWoOmUxRZzS2BcxyM7W3oHI="; }; + patches = [ + # Fix missing include for libxml2 2.12 + # https://github.com/linuxmint/xed/pull/611 + (fetchpatch { + url = "https://github.com/linuxmint/xed/commit/28cb2e8136c1bfe90faf5f2341bde66156990778.patch"; + hash = "sha256-AqIb7Jj19SF3tIriPwn1JeB7niCmPbBsLE4ch2AX7fk="; + }) + ]; + nativeBuildInputs = [ meson pkg-config |