This commit is contained in:
Mikhail Klementev 2020-01-03 23:01:23 +00:00
parent 355fb314a1
commit 49b8790032
No known key found for this signature in database
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