Fix erro
This commit is contained in:
parent
9e930caaaa
commit
f3e3c71efb
|
@ -7,11 +7,11 @@ let
|
||||||
homes = self.lib.attrNames (import ../home/modes.nix);
|
homes = self.lib.attrNames (import ../home/modes.nix);
|
||||||
keys = [ "default" "apollo" "hera" ];
|
keys = [ "default" "apollo" "hera" ];
|
||||||
haskellBody = name: commandline: ''
|
haskellBody = name: commandline: ''
|
||||||
command = ${commandline}
|
|
||||||
main = do
|
main = do
|
||||||
(configDir:hostname:args) <- getArgs
|
(configDir:hostname:args) <- getArgs
|
||||||
paths <- myNixPath $ toText configDir
|
paths <- myNixPath $ toText configDir
|
||||||
say [i|Trying to build ${name} config for #{hostname} ...|]
|
say [i|Trying to build ${name} config for #{hostname} ...|]
|
||||||
|
let command = ${commandline}
|
||||||
bracket
|
bracket
|
||||||
(decodeUtf8 <$> mktemp |> captureTrim)
|
(decodeUtf8 <$> mktemp |> captureTrim)
|
||||||
rm
|
rm
|
||||||
|
|
Loading…
Reference in a new issue