mirror of
https://github.com/NixOS/nix
synced 2025-07-09 07:53:55 +02:00
format
This commit is contained in:
parent
8fbc27af46
commit
ba12adc0f9
1 changed files with 7 additions and 5 deletions
|
@ -176,7 +176,9 @@ let
|
|||
"${k}:x:${toString gid}:${lib.concatStringsSep "," members}";
|
||||
groupContents = (lib.concatStringsSep "\n" (lib.attrValues (lib.mapAttrs groupToGroup groups)));
|
||||
|
||||
toConf = with pkgs.lib.generators; toKeyValue {
|
||||
toConf =
|
||||
with pkgs.lib.generators;
|
||||
toKeyValue {
|
||||
mkKeyValue = mkKeyValueDefault {
|
||||
mkValueString = v: if lib.isList v then lib.concatStringsSep " " v else mkValueStringDefault { } v;
|
||||
} " = ";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue