diff --git a/shells/gnome.nix b/shells/gnome.nix index af70bdb2..044f2115 100644 --- a/shells/gnome.nix +++ b/shells/gnome.nix @@ -68,4 +68,6 @@ mkShell { # The new Blueprint language. blueprint-compiler ]; + + inputsFrom = [ gjs gtk4 gobject-introspection ]; } diff --git a/shells/gnu.nix b/shells/gnu.nix index 2e6afe79..9294cdac 100644 --- a/shells/gnu.nix +++ b/shells/gnu.nix @@ -30,4 +30,6 @@ mkShell { texinfo pkg-config ]; + + inputsFrom = [ gcc ]; } diff --git a/shells/go.nix b/shells/go.nix index 07675274..385de58e 100644 --- a/shells/go.nix +++ b/shells/go.nix @@ -10,4 +10,6 @@ mkShell { gofumpt gopls ]; + + inputsFrom = [ go ]; } diff --git a/shells/gtk.nix b/shells/gtk.nix index 89b53de8..3ab8ec1e 100644 --- a/shells/gtk.nix +++ b/shells/gtk.nix @@ -12,12 +12,7 @@ mkShell { packages = [ - # Most of the build inputs are from `gtk` package. And since build - # environment of the following packages is brought with `nix develop`, we - # don't need to list much of the common build systems like Meson. - wrapGAppsHook gtk - glib appstream-glib desktop-file-utils @@ -27,4 +22,6 @@ mkShell { libportal libportal-gtk ]; + + inputsFrom = [ gtk ]; } diff --git a/shells/rust.nix b/shells/rust.nix index e612fad8..e90fe2bb 100644 --- a/shells/rust.nix +++ b/shells/rust.nix @@ -24,4 +24,6 @@ mkShell { ]; RUST_SRC_PATH = rustPlatform.rustLibSrc; + + inputsFrom = [ cargo rustc ]; }