summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-13 04:40:36 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-13 04:40:36 +0100
commit630255f31a84622dd6185effbb5c8504d426670c (patch)
treeed41acf1c65d40ee2243daf42f6a8805bd22c96d
parent856a25b533c41abfc6524391ea298e80600ceb1b (diff)
downloadnixos-630255f31a84622dd6185effbb5c8504d426670c.tar
nixos-630255f31a84622dd6185effbb5c8504d426670c.tar.gz
nixos-630255f31a84622dd6185effbb5c8504d426670c.tar.bz2
nixos-630255f31a84622dd6185effbb5c8504d426670c.tar.xz
nixos-630255f31a84622dd6185effbb5c8504d426670c.zip
writeText instead of toFile
-rw-r--r--custom/simp_le.nix2
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;
12in builtins.toFile "certs.sh" all 12in pkgs.writeText "certs.sh" all