3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
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
..
applications 1password: 0.4.1 -> 0.5.1 (#43981) 2018-08-01 15:19:07 +02:00
build-support Revert "Merge #44221: default for NIX_CXXSTDLIB_COMPILE" 2018-07-31 09:43:52 +02:00
common-updater
data ia-writer-duospace: init at 20180721 (#43937) 2018-08-01 15:13:50 +02:00
desktops plasma-nm: fix path to mobile broadband provider file (#44302) 2018-08-01 15:23:28 +02:00
development ffmpeg: 3.4.3 -> 3.4.4 (bugfix) (#44267) 2018-08-01 15:22:20 +02:00
games Merge remote-tracking branch 'central/master' into viric_clean 2018-07-28 19:25:14 +02:00
misc Merge pull request #44283 from kalbasit/nixpkgs-fix-44282 2018-08-01 10:25:53 +02:00
os-specific Merge pull request #43637 from qolii/hardkernel_update_and_defconfig 2018-08-01 12:18:27 +02:00
servers minio: 2018-05-11T00-29-24Z -> 2018-07-31T02-11-47Z 2018-08-01 00:36:44 +02:00
shells oh-my-zsh: 2018-04-25 -> 2018-07-29 2018-07-29 20:07:43 +00:00
stdenv Merge master into staging-next 2018-07-28 12:31:35 +02:00
test
tools ldmtool: init at 0.2.4 (#43975) 2018-08-01 11:40:07 +02:00
top-level brakeman: init at 4.3.1 (#44294) 2018-08-01 15:15:29 +02:00