From f3e3c71efb890f4b3e4abf98129ca8ee4e01b15e Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Fri, 26 Jun 2020 19:17:35 +0200 Subject: [PATCH] Fix erro --- overlays/testing.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/testing.nix b/overlays/testing.nix index 39e63096..8dace8e7 100644 --- a/overlays/testing.nix +++ b/overlays/testing.nix @@ -7,11 +7,11 @@ let homes = self.lib.attrNames (import ../home/modes.nix); keys = [ "default" "apollo" "hera" ]; haskellBody = name: commandline: '' - command = ${commandline} main = do (configDir:hostname:args) <- getArgs paths <- myNixPath $ toText configDir say [i|Trying to build ${name} config for #{hostname} ...|] + let command = ${commandline} bracket (decodeUtf8 <$> mktemp |> captureTrim) rm