Skip to content

Commit

Permalink
Merge pull request #72996 from elohmeier/containers-fix
Browse files Browse the repository at this point in the history
nixos/containers: fix handling of cfg.additionalCapabilities
  • Loading branch information
adisbladis authored Nov 25, 2019
2 parents 98dc6b5 + fc7070d commit 4d78ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/virtualisation/containers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ let
--setenv PATH="$PATH" \
${optionalString cfg.ephemeral "--ephemeral"} \
${if cfg.additionalCapabilities != null && cfg.additionalCapabilities != [] then
''--capability="${concatStringsSep " " cfg.additionalCapabilities}"'' else ""
''--capability="${concatStringsSep "," cfg.additionalCapabilities}"'' else ""
} \
${if cfg.tmpfs != null && cfg.tmpfs != [] then
''--tmpfs=${concatStringsSep " --tmpfs=" cfg.tmpfs}'' else ""
Expand Down

0 comments on commit 4d78ab0

Please sign in to comment.