feat: sydnix rebuild will exit with exit code of nixos-rebuild
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
(or args ["switch"])
|
||||
["--flake" (:flake opts)])]
|
||||
(apply println "$" rebuild-cmd)
|
||||
(apply p/shell {:continue true} rebuild-cmd)))
|
||||
(-> (apply p/shell {:continue true} rebuild-cmd)
|
||||
:exit
|
||||
System/exit)))
|
||||
|
||||
(def commands
|
||||
[{:cmds ["rebuild"]
|
||||
|
||||
Reference in New Issue
Block a user