diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 04:42:32 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 04:42:32 +0100 |
commit | 753789204bb2698c89aae5189732244fead0ae2e (patch) | |
tree | e3e216aa8f7b2abd01664d1f9741458039f31fbc /custom/simp_le.nix | |
parent | e64fb915a0f4eb8f7e0f9565f4263749e581d524 (diff) | |
download | nixos-753789204bb2698c89aae5189732244fead0ae2e.tar nixos-753789204bb2698c89aae5189732244fead0ae2e.tar.gz nixos-753789204bb2698c89aae5189732244fead0ae2e.tar.bz2 nixos-753789204bb2698c89aae5189732244fead0ae2e.tar.xz nixos-753789204bb2698c89aae5189732244fead0ae2e.zip |
permissions
Diffstat (limited to 'custom/simp_le.nix')
-rw-r--r-- | custom/simp_le.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/custom/simp_le.nix b/custom/simp_le.nix index 8178bb1a..e03e2b2c 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix | |||
@@ -1,7 +1,6 @@ | |||
1 | { domains ? [] | 1 | { domains ? [] |
2 | , simp_le | 2 | , simp_le |
3 | , lib | 3 | , lib |
4 | , stdenv | ||
5 | , writeText | 4 | , writeText |
6 | }: | 5 | }: |
7 | 6 | ||
@@ -9,5 +8,4 @@ let | |||
9 | getcert = domain: '' | 8 | getcert = domain: '' |
10 | echo ${domain} >> /tmp/domains.test | 9 | echo ${domain} >> /tmp/domains.test |
11 | ''; | 10 | ''; |
12 | all = "#!${stdenv}/bin/bash\n\n" + lib.concatMapStringsSep "\n" getcert domains; | 11 | in writeText "certs.sh" (lib.concatMapStringsSep "\n" getcert domains) |
13 | in writeText "certs.sh" all | ||