mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
cleanup
This commit is contained in:
parent
e68109a40f
commit
41cfd7b141
1 changed files with 2 additions and 4 deletions
|
@ -77,7 +77,6 @@ func NixosRebuild(subcmd string, flake string, rest ...string) {
|
|||
"--flake",
|
||||
flake,
|
||||
}
|
||||
fmt.Println(args)
|
||||
args = append(args, rest...)
|
||||
cmd := exec.Command("sudo", args...)
|
||||
runCommand(cmd)
|
||||
|
@ -94,7 +93,6 @@ func runCommand(cmd *exec.Cmd) {
|
|||
func NixBuild(path string, rest ...string) {
|
||||
args := []string{"build", path}
|
||||
args = append(args, rest...)
|
||||
fmt.Println(args)
|
||||
cmd := exec.Command("nix", args...)
|
||||
runCommand(cmd)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue