summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-09-01 19:24:55 +0300
committerVika <vika@fireburn.ru>2024-09-04 19:51:50 +0300
commite7722cab2f448319f2681d1ef00dfee1575d9706 (patch)
tree899a155e78f5a88219ba79795bdfa7e254368e66
parentc18baf07137dfdf7809a89c6af2eabf22131cc00 (diff)
downloadbowl-e7722cab2f448319f2681d1ef00dfee1575d9706.tar.zst
Modify the dependencies to explicitly depend on important things
 - glib-networking is a transient dependency for libsoup
 - dconf.lib is added automatically
 - the GTK3 dependency should be removed from the closure now
 - dconf.lib should be added by wrapGAppsHook4
-rw-r--r--default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/default.nix b/default.nix
index 3ea5c00..fa7a9b7 100644
--- a/default.nix
+++ b/default.nix
@@ -1,7 +1,8 @@
 { craneLib, lib, rustc
-, pkg-config, wrapGAppsHook, meson, ninja, gettext
+, pkg-config, wrapGAppsHook4, meson, ninja, gettext
 , desktop-file-utils
-, gtk4, libadwaita, libpanel, libsoup_3, libsecret, librsvg
+, gtk4, libadwaita, libpanel, libsoup_3, libsecret
+, librsvg, glib-networking
 }:
 
 let
@@ -30,8 +31,12 @@ let
 
     # cargoExtraArgs can be used to inject features
 
-    buildInputs = [ gtk4 libadwaita libpanel libsoup_3 libsecret librsvg gettext ];
-    nativeBuildInputs = [ pkg-config wrapGAppsHook gettext meson ninja ];
+    buildInputs = [
+      gtk4 libadwaita libpanel libsoup_3 libsecret
+      librsvg glib-networking
+      gettext
+    ];
+    nativeBuildInputs = [ pkg-config wrapGAppsHook4 gettext meson ninja ];
 
     meta = with lib.meta; {
       maintainers = with lib.maintainers; [ vikanezrimaya ];