git.iko.soy/typeable/nixpkgs
on master help sign in
Fix #7354 - Accept _module attributes added to every submodule.
commit7585d42d2bf4d27f9208ad621dca34af0b010656 authorNicolas B. Pierron <nicolas.b.pierron@gmail.com> dateWed 15 Apr 2015, 00:20 (12 years ago) parent169efee
1 file changed+2−2
nixos/modules/services/networking/ssh/sshd.nix+2−2
nixos/modules/services/networking/ssh/sshd.nix+2−2
@@ -377,7 +377,7 @@ in
377377 Port ${toString port}
378378 '') cfg.ports}
379379
380− ${concatMapStrings ({ port, addr }: ''
380+ ${concatMapStrings ({ port, addr, ... }: ''
381381 ListenAddress ${addr}${if port != null then ":" + toString port else ""}
382382 '') cfg.listenAddresses}
383383
@@ -416,7 +416,7 @@ in
416416 (data.publicKey != null && data.publicKeyFile == null);
417417 message = "knownHost ${name} must contain either a publicKey or publicKeyFile";
418418 })
419− ++ flip map cfg.listenAddresses ({ addr, port }: {
419+ ++ flip map cfg.listenAddresses ({ addr, port, ... }: {
420420 assertion = addr != null;
421421 message = "addr must be specified in each listenAddresses entry";
422422 });