You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
m@x default % ll /nix/store/2wbm84c9ypm69n8kr9i8qkxy1pbryjhc-profile
ls: /nix/store/2wbm84c9ypm69n8kr9i8qkxy1pbryjhc-profile: No such file or directory
What happened?
When I run
devbox global push <git-repo>
, I get the following error message:The symlink itself exists:
But the location in the Nix store doesn't exist:
Steps to reproduce
devbox global push <git-repo>
Command
global
devbox.json
Devbox version
0.12.0
Nix version
nix (Nix) 2.19.3
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
m@x default % DEVBOX_DEBUG=1 devbox global push https://github.com/mootoday/devbox-global
time=2024-07-12T08:22:41.700-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:22 msg="finding devbox config" path=""
time=2024-07-12T08:22:41.700-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:66 msg="finding devbox config" dir=/Users/m/.local/share/devbox/global/default
time=2024-07-12T08:22:41.701-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:22 msg="finding devbox config" path=""
time=2024-07-12T08:22:41.701-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:66 msg="finding devbox config" dir=/Users/m/.local/share/devbox/global/default
time=2024-07-12T08:22:41.716-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:22 msg="finding devbox config" path=/Users/m/.local/share/devbox/global/default
Info: Pushing global config to https://github.com/mootoday/devbox-global
Cloning into '/var/folders/81/8dsh7b6x3qj5g852dvxs8k3r0000gn/T/devbox4127416805'...
warning: You appear to have cloned an empty repository.
cp: /Users/m/.local/share/devbox/global/default/profile: No such file or directory
Error: exit status 1
time=2024-07-12T08:22:50.841-07:00 level=ERROR source=go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:68 msg="command error" stderr="" execid=f7f07214f0e647f28c3f2b9ab6e27998 stack="exit status 1\ngo.jetpack.io/devbox/internal/fileutil.CopyAll\n\tgo.jetpack.io/devbox/internal/fileutil/dir.go:24\ngo.jetpack.io/devbox/internal/pullbox/git.Push\n\tgo.jetpack.io/devbox/internal/pullbox/git/push.go:31\ngo.jetpack.io/devbox/internal/pullbox.(*pullbox).Push\n\tgo.jetpack.io/devbox/internal/pullbox/pullbox.go:124\ngo.jetpack.io/devbox/internal/devbox.(*Devbox).Push\n\tgo.jetpack.io/devbox/internal/devbox/pushpull.go:23\ngo.jetpack.io/devbox/internal/boxcli.pushCmdFunc\n\tgo.jetpack.io/devbox/internal/boxcli/push.go:58\ngo.jetpack.io/devbox/internal/boxcli.pushCmd.func1\n\tgo.jetpack.io/devbox/internal/boxcli/push.go:29\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1039\ngo.jetpack.io/devbox/internal/boxcli/midcobra.(*midcobraExecutable).Execute\n\tgo.jetpack.io/devbox/internal/boxcli/midcobra/midcobra.go:61\ngo.jetpack.io/devbox/internal/boxcli.Execute\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:115\ngo.jetpack.io/devbox/internal/boxcli.Main\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:138\nmain.main\n\t./main.go:11\nruntime.main\n\truntime/proc.go:271\nruntime.goexit\n\truntime/asm_arm64.s:1222"
time=2024-07-12T08:22:50.841-07:00 level=ERROR source=go.jetpack.io/devbox/internal/boxcli/midcobra/debug.go:70 msg="command error" execid=f7f07214f0e647f28c3f2b9ab6e27998 stack="exit status 1\ngo.jetpack.io/devbox/internal/fileutil.CopyAll\n\tgo.jetpack.io/devbox/internal/fileutil/dir.go:24\ngo.jetpack.io/devbox/internal/pullbox/git.Push\n\tgo.jetpack.io/devbox/internal/pullbox/git/push.go:31\ngo.jetpack.io/devbox/internal/pullbox.(*pullbox).Push\n\tgo.jetpack.io/devbox/internal/pullbox/pullbox.go:124\ngo.jetpack.io/devbox/internal/devbox.(*Devbox).Push\n\tgo.jetpack.io/devbox/internal/devbox/pushpull.go:23\ngo.jetpack.io/devbox/internal/boxcli.pushCmdFunc\n\tgo.jetpack.io/devbox/internal/boxcli/push.go:58\ngo.jetpack.io/devbox/internal/boxcli.pushCmd.func1\n\tgo.jetpack.io/devbox/internal/boxcli/push.go:29\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1039\ngo.jetpack.io/devbox/internal/boxcli/midcobra.(*midcobraExecutable).Execute\n\tgo.jetpack.io/devbox/internal/boxcli/midcobra/midcobra.go:61\ngo.jetpack.io/devbox/internal/boxcli.Execute\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:115\ngo.jetpack.io/devbox/internal/boxcli.Main\n\tgo.jetpack.io/devbox/internal/boxcli/root.go:138\nmain.main\n\t./main.go:11\nruntime.main\n\truntime/proc.go:271\nruntime.goexit\n\truntime/asm_arm64.s:1222"
time=2024-07-12T08:22:50.841-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:22 msg="finding devbox config" path=""
time=2024-07-12T08:22:50.841-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/devbox/dir.go:66 msg="finding devbox config" dir=/Users/m/.local/share/devbox/global/default
time=2024-07-12T08:22:50.889-07:00 level=DEBUG source=go.jetpack.io/devbox/internal/nix/nix.go:337 msg="nix --version --debug output" out="nix (Nix) 2.19.3\nSystem type: aarch64-darwin\nAdditional system types: x86_64-darwin\nFeatures: gc, signed-caches\nSystem configuration file: /etc/nix/nix.conf\nUser configuration files: /Users/m/.config/nix/nix.conf:/etc/xdg/nix/nix.conf\nStore directory: /nix/store\nState directory: /nix/var/nix\nData directory: /nix/store/ylwh78ikfn6w4vz1hw1qj0bdj414swqx-nix-2.19.3/share\n"
m@x default %
The text was updated successfully, but these errors were encountered: