gnome2.gtksourceview: unpin autotools

This commit is contained in:
Weijia Wang 2025-07-22 21:50:08 +02:00
parent 0382d0a27b
commit 8bda549f22
2 changed files with 12 additions and 11 deletions

View File

@ -33,9 +33,7 @@ lib.makeScope pkgs.newScope (
#### DESKTOP
gtksourceview = callPackage ./desktop/gtksourceview {
autoreconfHook = pkgs.autoreconfHook269;
};
gtksourceview = callPackage ./desktop/gtksourceview { };
}
)

View File

@ -4,6 +4,7 @@
fetchpatch,
fetchurl,
autoreconfHook,
gtk-doc,
pkg-config,
atk,
cairo,
@ -48,10 +49,16 @@ stdenv.mkDerivation (finalAttrs: {
# Fix build with gcc 14
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
nativeBuildInputs = [
pkg-config
intltool
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ autoreconfHook ];
nativeBuildInputs =
[
pkg-config
intltool
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
autoreconfHook
gtk-doc
];
buildInputs =
[
atk
@ -68,10 +75,6 @@ stdenv.mkDerivation (finalAttrs: {
gtk-mac-integration-gtk2
];
preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
intltoolize --force
'';
doCheck = false; # requires X11 daemon
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;