treewide: move gobject-introspection from buildInputs to nativeBuildInputs (#321411)

* catnip-gtk4: parallelise

* seabird: parallelise

* treewide: move gobject-introspection from buildInputs to nativeBuildInputs
This commit is contained in:
éclairevoyant 2024-06-22 00:39:00 +00:00 committed by GitHub
parent 66b060e0e7
commit e8d7ce1b47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -27,13 +27,13 @@ buildGo122Module rec {
nativeBuildInputs = [
copyDesktopItems
gobject-introspection
libxml2
pkg-config
wrapGAppsHook4
];
buildInputs = [
gobject-introspection
gtk4
gtksourceview5
libadwaita
@ -42,6 +42,8 @@ buildGo122Module rec {
ldflags = [ "-s" "-w" ];
enableParallelBuilding = true;
postPatch = ''
substituteInPlace main.go --replace-fail 'version = "dev"' 'version = "${version}"'
'';

View file

@ -22,18 +22,20 @@ buildGoModule {
vendorHash = "sha256-gcr3e5Fm2xCTOoTgl71Dv3rxI6gQbqRz0M1NO7fAZk0=";
nativeBuildInputs = [
gobject-introspection
pkg-config
wrapGAppsHook4
];
buildInputs = [
gobject-introspection
gtk4
libadwaita
];
ldflags = [ "-s" "-w" ];
enableParallelBuilding = true;
meta = with lib; {
description = "GTK4 frontend for catnip";
homepage = "https://github.com/diamondburned/catnip-gtk4";