From 7dd097c3f7a7ce469b6f9adc98faca13c312ddbf Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Tue, 2 Jun 2020 04:55:49 +0200 Subject: [PATCH] Get rid of hFlush --- overlays/testing.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/overlays/testing.nix b/overlays/testing.nix index 587ab29e..88525291 100644 --- a/overlays/testing.nix +++ b/overlays/testing.nix @@ -1,7 +1,6 @@ self: super: let bins = [ self.nix ]; - imports = [ "System.IO (hFlush)" ]; repoSrc = "git@hera.m-0.eu:nixos-config"; configPath = "/etc/nixos"; systems = [ "apollo" "hera" ]; @@ -12,7 +11,6 @@ let (configDir:hostname:args) <- getArgs paths <- myNixPath $ toText configDir say [i|Trying to build ${name} config for #{hostname} ...|] - hFlush stdout ${commandline} say [i|Build of ${name} config for #{hostname} was successful.|] ''; @@ -36,8 +34,13 @@ in { test-config = self.writeHaskellScript { name = "test-config"; - bins = - [ self.test-system-config self.test-home-config self.git self.niv self.git-crypt ]; + bins = [ + self.test-system-config + self.test-home-config + self.git + self.niv + self.git-crypt + ]; imports = [ "System.Directory (withCurrentDirectory)" ]; } '' checkout :: IO FilePath