Skip to content

[Bug]: nix bad illegal url error after auto upgrading to 0.5.0 #1010

@tclain

Description

@tclain

Current Behavior (bug)
Since auto upgrade to 0.5.0, I get the following message when activating devbox in my production repo:

direnv: loading ~/z/next/.envrc
direnv: using devbox
direnv: using nix .devbox/gen/shell.nix
error: unable to download 'github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62': URL using bad/illegal format or missing URL (3)

       … while realising the context of a path

       at /Users/tclain/z/next/.devbox/gen/shell.nix:2:10:

Expected Behavior (fix)
No errors should happened

Additional context

  • fish shell

Please include the output of devbox version -v and
0.5.0
a copy of your devbox.json file.

{
  "packages": [
    "nodejs",
    "nodePackages.pnpm",
    "postgresql",
    "nodePackages.typescript-language-server",
    "nodePackages.prettier",
    "colima",
    "kubectl"
  ],
  "nixpkgs": {
    "commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62"
  },
  "shell": {
    "scripts": {
      "pnpm-store-path": "pnpm store path",
      "install": "pnpm i",
      "test": "pnpm turbo test:unit"
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions