From fc5a532cf4469cddf8dba93acc09ae71ef2a453c Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Fri, 26 Jun 2020 19:22:21 +0200 Subject: [PATCH] Fix error --- overlays/testing.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlays/testing.nix b/overlays/testing.nix index 3936aa72..e1e2756c 100644 --- a/overlays/testing.nix +++ b/overlays/testing.nix @@ -14,7 +14,7 @@ let say [i|Trying to build ${name} config for #{hostname} ...|] let command = ${commandline} bracket - (decodeUtf8 <$> mktemp |> captureTrim) + (decodeUtf8 <$> ((mktemp |> captureTrim) :: IO ByteString)) rm (\logFile -> onException (command &> Append logFile &!> Append logFile) (cat logFile)) say [i|Build of ${name} config for #{hostname} was successful.|]