libsoup: Remove passthru.propagatedUserEnvPackages

That does not do anything.

The proper attribute name recognized by the generic builder is `propagatedUserEnvPkgs`
and even that is an ugly hack to have `nix-env` pull in extra packages into the profile.

Looks like it has been mistakenly put to `passthru` since the beginning:
24448ed3de

Apps that use TLS in conjunction with GLib/libsoup should just add `glib-networking` to `buildInputs`
and `wrapGAppsHook` to `nativeBuildInputs` to add the appropriate Gio module
to `GIO_EXTRA_MODULES` environment variable.
This commit is contained in:
Jan Tojnar 2023-12-26 00:34:56 +01:00
parent 6df37dc6a7
commit b088f9871e
3 changed files with 4 additions and 9 deletions

View File

@ -7,6 +7,7 @@
, geoip
, gettext
, glib
, glib-networking
, gtk3
, json-glib
, libappindicator
@ -50,7 +51,9 @@ stdenv.mkDerivation rec {
libmrss
libproxy
libsoup_3
] ++ libsoup_3.propagatedUserEnvPackages;
# For TLS support.
glib-networking
];
doCheck = false; # Requires network access

View File

@ -8,7 +8,6 @@
, gnome
, libsysprof-capture
, sqlite
, glib-networking
, buildPackages
, gobject-introspection
, withIntrospection ? lib.meta.availableOn stdenv.hostPlatform gobject-introspection && stdenv.hostPlatform.emulatorAvailable buildPackages
@ -93,9 +92,6 @@ stdenv.mkDerivation rec {
'';
passthru = {
propagatedUserEnvPackages = [
glib-networking.out
];
updateScript = gnome.updateScript {
attrPath = "libsoup_3";
packageName = pname;

View File

@ -14,7 +14,6 @@
, brotli
, gnomeSupport ? true
, sqlite
, glib-networking
, buildPackages
, withIntrospection ? lib.meta.availableOn stdenv.hostPlatform gobject-introspection && stdenv.hostPlatform.emulatorAvailable buildPackages
}:
@ -85,9 +84,6 @@ stdenv.mkDerivation rec {
'';
passthru = {
propagatedUserEnvPackages = [
glib-networking.out
];
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";