1
0
Fork 0

Get rid of hFlush

This commit is contained in:
Malte Brandy 2020-06-02 04:55:49 +02:00
parent 123b6c56de
commit 7dd097c3f7
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -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