From 2c2adb123227bac3f63726d3a232a270ebb4174d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Jan 2016 12:19:31 +0100 Subject: shell & directory creation --- custom/simp_le.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/simp_le.nix b/custom/simp_le.nix index 2b2de3fa..5d502817 100644 --- a/custom/simp_le.nix +++ b/custom/simp_le.nix @@ -1,4 +1,5 @@ { stdenv, writeText +, bash , simp_le , eject }: @@ -7,6 +8,7 @@ domain: let script = writeText "cert.sh" '' + mkdir -p $dir cd $dir ${simp_le}/bin/simp_le -d ${domain}:/srv/www/acme/${domain}/ \ --email "phikeebaogobaegh@141.li" \ @@ -16,4 +18,4 @@ let -f key.pem ''; in - "${stdenv}/bin/bash ${script} ${dir} ${domain} > ${eject}/bin/logger -p auth.info" + "${bash}/bin/bash ${script} ${dir} ${domain} > ${eject}/bin/logger -p auth.info" -- cgit v1.2.3