This commit is contained in:
dump_stack() 2020-01-03 23:01:23 +00:00
parent 355fb314a1
commit 49b8790032
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -35,6 +35,9 @@ in {
` `
func isPackageExists(name string) bool { func isPackageExists(name string) bool {
// TODO use something like a
// nix-build '<channel>' -A name
// to avoid installation to user profile
cmd := exec.Command("nix-env", "-iA", name) cmd := exec.Command("nix-env", "-iA", name)
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr