1
0
Fork 0
This commit is contained in:
Malte Brandy 2020-06-26 19:17:35 +02:00
parent 9e930caaaa
commit f3e3c71efb
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

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