diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 04:40:36 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 04:40:36 +0100 |
commit | 630255f31a84622dd6185effbb5c8504d426670c (patch) | |
tree | ed41acf1c65d40ee2243daf42f6a8805bd22c96d /custom | |
parent | 856a25b533c41abfc6524391ea298e80600ceb1b (diff) | |
download | nixos-630255f31a84622dd6185effbb5c8504d426670c.tar nixos-630255f31a84622dd6185effbb5c8504d426670c.tar.gz nixos-630255f31a84622dd6185effbb5c8504d426670c.tar.bz2 nixos-630255f31a84622dd6185effbb5c8504d426670c.tar.xz nixos-630255f31a84622dd6185effbb5c8504d426670c.zip |
writeText instead of toFile
Diffstat (limited to 'custom')
-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 125cc316..ee93d2c4 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix | |||
@@ -9,4 +9,4 @@ let | |||
9 | echo ${domain} >> /tmp/domains.test | 9 | echo ${domain} >> /tmp/domains.test |
10 | ''; | 10 | ''; |
11 | all = "#!${stdenv}/bin/bash\n\n" + lib.concatMapStringsSep "\n" getcert domains; | 11 | all = "#!${stdenv}/bin/bash\n\n" + lib.concatMapStringsSep "\n" getcert domains; |
12 | in builtins.toFile "certs.sh" all | 12 | in pkgs.writeText "certs.sh" all |