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 | |
parent | e64fb915a0f4eb8f7e0f9565f4263749e581d524 (diff) | |
download | nixos-753789204bb2698c89aae5189732244fead0ae2e.tar nixos-753789204bb2698c89aae5189732244fead0ae2e.tar.gz nixos-753789204bb2698c89aae5189732244fead0ae2e.tar.bz2 nixos-753789204bb2698c89aae5189732244fead0ae2e.tar.xz nixos-753789204bb2698c89aae5189732244fead0ae2e.zip |
permissions
-rw-r--r-- | custom/simp_le.nix | 4 | ||||
-rw-r--r-- | ymir.nix | 2 |
2 files changed, 2 insertions, 4 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 | ||
@@ -131,7 +131,7 @@ in rec { | |||
131 | systab = '' | 131 | systab = '' |
132 | %weekly * * nix-collect-garbage --delete-older-than '7d' | 132 | %weekly * * nix-collect-garbage --delete-older-than '7d' |
133 | 133 | ||
134 | %monthly * * * ${pkgs.callPackage ./custom/simp_le.nix { domains = ["dirty-haskell.org" "www.dirty-haskell.org" "git.yggdrasil.li" "git.dirty-haskell.org" "git.141.li"]; } } | 134 | %monthly * * * ${pkgs.stdenv}/bin/bash ${pkgs.callPackage ./custom/simp_le.nix { domains = ["dirty-haskell.org" "www.dirty-haskell.org" "git.yggdrasil.li" "git.dirty-haskell.org" "git.141.li"]; } } |
135 | ''; | 135 | ''; |
136 | }; | 136 | }; |
137 | 137 | ||