What happened?
When trying to pull in a NUR flake that is unfree I am unable to get Devbox to accept NIXPKGS_ALLOW_UNFREE. This is due to the fact that the --impure flag is not being included during nix print-dev-env when using devbox shell.
More context can be found in this discord thread
Steps to reproduce
- devbox init
- debox add github:goreleaser/nur/ec67c3ebe81bd5614190e3dd4600089859d5b179#goreleaser-pro
- NIXPKGS_ALLOW_UNFREE=1 devbox shell
Command
shell
devbox.json
Devbox version
0.12.0
Nix version
nix (Nix) 2.21.2
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
No response
What happened?
When trying to pull in a NUR flake that is unfree I am unable to get Devbox to accept NIXPKGS_ALLOW_UNFREE. This is due to the fact that the
--impureflag is not being included duringnix print-dev-envwhen usingdevbox shell.More context can be found in this discord thread
Steps to reproduce
Command
shell
devbox.json
{ "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json", "packages": [ "go@1.22.5", "tilt@0.33.10", "wget@1.21.4", "pre-commit@3.7.1", "python@3.12.3", "gnumake@4.4.1", "go-task@3.37.2", "_1password@2.28.0", "curl@8.7.1", "go-migrate@4.17.1", "air@1.52.1", "gnused@4.9", "github:goreleaser/nur/ec67c3ebe81bd5614190e3dd4600089859d5b179#goreleaser-pro" ], "env": { "GOBIN": "$PWD/bin", "PATH": "$PWD/bin:$PATH", "NIXPKGS_ALLOW_UNFREE": "1" }, "shell": { "init_hook": [ "task --silent env-setup" ], "scripts": {} } }Devbox version
0.12.0
Nix version
nix (Nix) 2.21.2
What system does this bug occur on?
macOS (Apple Silicon)
Debug logs
No response