1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39:47 +01:00
home-manager/tests/modules/programs/ncmpcpp-linux
Olmo Kramer 2cff1c7642
ncmpcpp: Allow str type values for mpdMusicDir option (#3565)
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
2023-01-07 11:59:51 +01:00
..
default.nix ncmpcpp: Allow str type values for mpdMusicDir option (#3565) 2023-01-07 11:59:51 +01:00
ncmpcpp-issue-3560-expected-config ncmpcpp: Allow str type values for mpdMusicDir option (#3565) 2023-01-07 11:59:51 +01:00
ncmpcpp-issue-3560.nix ncmpcpp: Allow str type values for mpdMusicDir option (#3565) 2023-01-07 11:59:51 +01:00
ncmpcpp-use-mpd-config-expected-config ncmpcpp: add module 2020-09-01 22:05:57 +02:00
ncmpcpp-use-mpd-config.nix tests: add option test.stubs 2021-09-26 23:26:38 +02:00