We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eda044 commit 4c00cf3Copy full SHA for 4c00cf3
internal/impl/config.go
@@ -13,6 +13,7 @@ import (
13
"strings"
14
15
"github.com/pkg/errors"
16
+ "github.com/samber/lo"
17
"go.jetpack.io/devbox/internal/boxcli/usererr"
18
"go.jetpack.io/devbox/internal/cuecfg"
19
"go.jetpack.io/devbox/internal/debug"
@@ -68,7 +69,7 @@ func (c *Config) Packages(w io.Writer) []string {
68
69
"Will use the local version. This may lead to version mismatch and "+
70
"nix store bloat.\n")
71
}
- return append(c.RawPackages, global.RawPackages...)
72
+ return lo.Uniq(append(c.RawPackages, global.RawPackages...))
73
74
75
func readConfig(path string) (*Config, error) {
0 commit comments