mirror of
https://github.com/nix-community/home-manager
synced 2024-08-20 02:56:30 +02:00
The default value of `programs.ncmpcpp.mpdMusicDir` is taken from `services.mpd.musicDirectory` if the mpd module is enabled, which has type `either path str`. `programs.ncmpcpp.mpdMusicDir` did not accept `str` values, though, so an error was raised when the default value was used and `services.mpd.musicDirectory` was set to a value of type `str`. This commit changes the type of `programs.ncmpcpp.mpdMusicDir` to also accept `str` to reflect the type of `services.mpd.musicDirectory`. Fixes #3560 |
||
---|---|---|
.. | ||
default.nix | ||
ncmpcpp-issue-3560-expected-config | ||
ncmpcpp-issue-3560.nix | ||
ncmpcpp-use-mpd-config-expected-config | ||
ncmpcpp-use-mpd-config.nix |