Skip to content

--store ./relative/path doesn't work #3734

@Ericson2314

Description

@Ericson2314

Describe the bug

Only absolute paths are recognized.

Steps To Reproduce

  1. Try any nix command with --store $(readlink -e ./relative/path) that succeeds
  2. Try same command with --store ./relative/path it fails not knowing what store to use

Expected behavior

it canonicalizes the path and makes a chroot store with that.

nix-env --version output

master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions