3
0
Fork 0
forked from mirrors/nixpkgs

fix -G delimiter in call to useradd

This commit is contained in:
Charles Strahan 2014-05-17 00:45:16 -04:00
parent 4ac818601e
commit 5445132f73

View file

@ -480,7 +480,7 @@ in {
if ! id "${u.name}" &>/dev/null; then if ! id "${u.name}" &>/dev/null; then
${pkgs.shadow}/sbin/useradd \ ${pkgs.shadow}/sbin/useradd \
-g "${u.group}" \ -g "${u.group}" \
-G "${toString u.extraGroups}" \ -G "${concatStringsSep "," u.extraGroups}" \
-s "${u.shell}" \ -s "${u.shell}" \
-d "${u.home}" \ -d "${u.home}" \
${optionalString u.isSystemUser "--system"} \ ${optionalString u.isSystemUser "--system"} \