mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -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",
|
||||||
flake,
|
flake,
|
||||||
}
|
}
|
||||||
fmt.Println(args)
|
|
||||||
args = append(args, rest...)
|
args = append(args, rest...)
|
||||||
cmd := exec.Command("sudo", args...)
|
cmd := exec.Command("sudo", args...)
|
||||||
runCommand(cmd)
|
runCommand(cmd)
|
||||||
|
@ -94,7 +93,6 @@ func runCommand(cmd *exec.Cmd) {
|
||||||
func NixBuild(path string, rest ...string) {
|
func NixBuild(path string, rest ...string) {
|
||||||
args := []string{"build", path}
|
args := []string{"build", path}
|
||||||
args = append(args, rest...)
|
args = append(args, rest...)
|
||||||
fmt.Println(args)
|
|
||||||
cmd := exec.Command("nix", args...)
|
cmd := exec.Command("nix", args...)
|
||||||
runCommand(cmd)
|
runCommand(cmd)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue