Revert "Do not install apps to nix user profile"

This reverts commit 02dda8bcf9.
This commit is contained in:
dump_stack() 2020-01-03 22:42:27 +00:00
parent 57e15fa0a0
commit e037770c38
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -35,7 +35,11 @@ in {
`
func isPackageExists(name string) bool {
return nil == exec.Command("nix-env", "-iA", "--dry-run", name).Run()
cmd := exec.Command("nix-env", "-iA", name)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
err := cmd.Run()
return err == nil
}
func nixPath(name string) (path string, err error) {