mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
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:
parent
66b060e0e7
commit
e8d7ce1b47
2 changed files with 6 additions and 2 deletions
|
@ -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}"'
|
||||
'';
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue