Skip to content

NIX_REMOTE appears to be a URL, but does not unescape the path #10582

Open
@roberth

Description

Describe the bug

While implementing relocated store support in nix-diff, I've found that it has a URL-like query parameters support.
However, the syntax is effectively undocumented.

Steps To Reproduce

$ NIX_REMOTE=/tmp/stores/foo%3Fbar? nix-store --init

$ ls /tmp/stores/
foo%3Fbar

Expected behavior

NIX_REMOTE is either a URL, not a URL, or something well specified.

nix-env --version output

Additional context

Priorities

Add 👍 to issues you find important.

Metadata

Assignees

No one assigned

    Labels

    documentationsettingsSettings, global flags, nix.confstoreIssues and pull requests concerning the Nix store

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions