From 8f7b5ac25a77217c9d7a9c070ae64f949ec4fc00 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Sun, 23 Jun 2024 09:26:57 +0200 Subject: [PATCH] Cleanup --- src/bin/thaw | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/bin/thaw b/src/bin/thaw index a8f6a25..69880e1 100755 --- a/src/bin/thaw +++ b/src/bin/thaw @@ -6,10 +6,7 @@ def main [ --push-to-machine(-p) # Whether or not to push the result to the given machine --print-build-logs(-L) # Print full build logs on standard error. command # 'nixos-rebuild' command to execute - #...misc # misc parameters ] { - let flake = $".#($machine)" - let buildOnMachine = if $build_on_machine { $"--build-host ($machine)" } @@ -25,10 +22,10 @@ def main [ let command = [ "nixos-rebuild" $command + $printBuildLogs $buildOnMachine $"--flake .#($machine)" $pushToMachine - $printBuildLogs ] | filter {|| $in | is-not-empty} | str join " " ^bash -c $command }