1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/nixos/modules/services/audio
aszlig ea2fd84ecd
nixos/mpd: Fix creation of "mpd" group.
The group is specified using a singleton list, so the loaOf merging is
done by iterating through the list items with imap, so it enumerates
every element and sets that as the default "name" attribute.

From lib/types:143:

name = elem.name or "unnamed-${toString defIdx}.${toString elemIdx}";

So, people get groups like "unnamed-X.Y" instead of "mpd".

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: devhell <"^"@regexmail.net>
Tested-by: devhell <"^"@regexmail.net>
2015-03-20 20:58:13 +01:00
..
fuppes Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
alsa.nix nixos/modules/services/audio/alsa.nix: fix evaluation 2014-05-23 19:20:49 +02:00
fuppes.nix Rewrite ‘with pkgs.lib’ -> ‘with lib’ 2014-04-14 16:26:48 +02:00
icecast.nix Added icecast module. 2015-03-17 14:21:57 +00:00
liquidsoap.nix initial liquidsoap service expression 2014-11-20 17:41:15 -05:00
mopidy.nix nixos/manual: Use literalExample when feasible. 2014-08-27 23:41:15 +02:00
mpd.nix nixos/mpd: Fix creation of "mpd" group. 2015-03-20 20:58:13 +01:00