Skip to content

Commit e4e9b3b

Browse files
authored
[EASY] Add indicator that nix is installing packages upon calling shell (#2637)
## Summary Add indicator that nix is installing packages upon calling shell ## How was it tested? `go build` `devbox shell` ## Is this change backwards-compatible? Yes
1 parent fc170c7 commit e4e9b3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boxcli/shell.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
package boxcli
55

66
import (
7+
"fmt"
8+
79
"github.com/pkg/errors"
810
"github.com/spf13/cobra"
911
"go.jetpack.io/devbox"
@@ -27,6 +29,7 @@ func runShellCmd(cmd *cobra.Command, args []string) error {
2729
return errors.WithStack(err)
2830
}
2931

32+
fmt.Println("Installing nix packages. This may take a while...")
3033
// TODO: If we're inside a devbox shell already, don't re-run.
3134
return box.Shell()
3235
}

0 commit comments

Comments
 (0)