Skip to content

use-case-hack is a property of a store, not a global setting (except for libnixfile-level commands) #9318

@roberth

Description

@roberth

Describe the bug

$ nix copy --from ~/tmp-store-normal --to ~/tmp-store-hacked?use-case-hack=true /nix/store/6hypxafvp2fcadphppjcxszx0qcahqbz-dummy
warning: unknown setting 'use-case-hack'

I shouldn't have to apply the case hack (unhack) to the --from store.

Steps To Reproduce

See above.

Expected behavior

nix-env --version output

Additional context

Priorities

Add 👍 to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsettingsSettings, global flags, nix.confstoreIssues and pull requests concerning the Nix store
    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