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