diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 12:14:19 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 12:14:19 +0100 |
commit | f6e28e7f6cc4709ed677efd2231c38ed31b71418 (patch) | |
tree | 8fbb0944a3510d12e52a835ac242304084b9f11a | |
parent | 3600019a6db787978b5996819fc6cad6d1832236 (diff) | |
download | nixos-f6e28e7f6cc4709ed677efd2231c38ed31b71418.tar nixos-f6e28e7f6cc4709ed677efd2231c38ed31b71418.tar.gz nixos-f6e28e7f6cc4709ed677efd2231c38ed31b71418.tar.bz2 nixos-f6e28e7f6cc4709ed677efd2231c38ed31b71418.tar.xz nixos-f6e28e7f6cc4709ed677efd2231c38ed31b71418.zip |
writeText instead of toFile
-rw-r--r-- | custom/simp_le.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/simp_le.nix b/custom/simp_le.nix index 83582c24..f5b2232f 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix | |||
@@ -5,7 +5,7 @@ dir: | |||
5 | domain: | 5 | domain: |
6 | 6 | ||
7 | let | 7 | let |
8 | script = builtins.toFile "cert.sh" '' | 8 | script = stdenv.lib.writeText "cert.sh" '' |
9 | cd $dir | 9 | cd $dir |
10 | ${simp_le}/bin/simp_le -d ${domain}:/srv/www/acme/${domain}/ \ | 10 | ${simp_le}/bin/simp_le -d ${domain}:/srv/www/acme/${domain}/ \ |
11 | --email "phikeebaogobaegh@141.li" \ | 11 | --email "phikeebaogobaegh@141.li" \ |