From 753789204bb2698c89aae5189732244fead0ae2e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Jan 2016 04:42:32 +0100 Subject: permissions --- custom/simp_le.nix | 4 +--- 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 @@ { domains ? [] , simp_le , lib -, stdenv , writeText }: @@ -9,5 +8,4 @@ let getcert = domain: '' echo ${domain} >> /tmp/domains.test ''; - all = "#!${stdenv}/bin/bash\n\n" + lib.concatMapStringsSep "\n" getcert domains; -in writeText "certs.sh" all +in writeText "certs.sh" (lib.concatMapStringsSep "\n" getcert domains) diff --git a/ymir.nix b/ymir.nix index 33ec6bd0..f314dc70 100644 --- a/ymir.nix +++ b/ymir.nix @@ -131,7 +131,7 @@ in rec { systab = '' %weekly * * nix-collect-garbage --delete-older-than '7d' - %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"]; } } + %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"]; } } ''; }; -- cgit v1.2.3