1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/desktops
Yarny0 bdf6f8528e plasma-nm: fix path to mobile broadband provider file (#44302)
When creating a new mobile broadband connection
with the plasma network manager connection editor,
it tries to find a file containing provider
information somewhere in /usr/share/... .
The build recipe contains a patch to fix the lookup path
such that it finds the file in the corresponding package,
probably added due to
https://github.com/NixOS/nixpkgs/issues/9389 .
The actual lookup path is injected into
the patch file with substituteAll.

With commit a31d98f312 ,
the variable name used in subsituteAll changed from
mobile_broadband_provider_info to mobile-broadband-provider-info
(underscores in package names turned into dashes).
Apparently, substituteAll can't handle dashes in variable names.
Consequently, the variable name was no longer resolved.
plasma-nm failed to create new mobile broadband connections;
the connection creator silently exited and logged the error
> plasma-nm: Error opening providers file "@mobile-broadband-provider-info@/share/mobile-broadband-provider-info/serviceproviders.xml"

This commit keeps the dashes in package names, but it
restores the underscores in the variable used by substituteAll,
thereby ensuring the variable gets resolved properly.
2018-08-01 15:23:28 +02:00
..
deepin
enlightenment pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
gnome-2 gnome2.GConf: Add python2 dependency for gsettings-schema-convert 2018-07-25 11:23:55 +03:00
gnome-3 Merge pull request #44278 from jtojnar/gnome-update 2018-08-01 14:38:45 +02:00
gnustep pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
lumina treewide: remove aliases in nixpkgs 2018-07-18 23:25:20 -04:00
lxde/core
lxqt lxqt: add update script 2018-07-26 15:22:05 -03:00
mate mate.mate-control-center: 1.20.3 -> 1.21.0 (#43748) 2018-07-30 20:44:10 +02:00
maxx
pantheon/apps/pantheon-terminal
plasma-5 plasma-nm: fix path to mobile broadband provider file (#44302) 2018-08-01 15:23:28 +02:00
rox/rox-filer
xfce Merge staging-next into master (#44009) 2018-07-24 15:04:48 +01:00
xfce4-13 Merge pull request #43927 from volth/xfce4-battery-plugin-1.1.0 2018-07-31 18:08:44 +02:00