diff options
author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-11-10 22:40:09 +0100 |
---|---|---|
committer | Christoph Hrdinka <c.github@hrdinka.at> | 2016-11-11 14:06:07 +0100 |
commit | 54199414e38081e016e7a525c90bcdbcd392621a (patch) | |
tree | 03b85fc3ecb7c0a82ecdb4943eabd2fc394d82d1 /nixos/modules/services/networking/nsd.nix | |
parent | bb2a67d226d2fc8b268655132fee33a720046613 (diff) |
nsd service: fix typo
Closes #20343.
Diffstat (limited to 'nixos/modules/services/networking/nsd.nix')
-rw-r--r-- | nixos/modules/services/networking/nsd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/nsd.nix b/nixos/modules/services/networking/nsd.nix index 6af1dd736431..ccfd219620cf 100644 --- a/nixos/modules/services/networking/nsd.nix +++ b/nixos/modules/services/networking/nsd.nix @@ -118,8 +118,8 @@ let ''; yesOrNo = b: if b then "yes" else "no"; - maybeString = prefix: x: if x == null then "" else ''${prefix} "${s}"''; - maybeToString = prefix: x: if x == null then "" else ''${prefix} ${toString s}''; + maybeString = prefix: x: if x == null then "" else ''${prefix} "${x}"''; + maybeToString = prefix: x: if x == null then "" else ''${prefix} ${toString x}''; forEach = pre: l: concatMapStrings (x: pre + x + "\n") l; |