Skip to content

Usage of unsafeDiscardStringContext breaks soundness for registration information #407

@RaitoBezarius

Description

@RaitoBezarius

Since 8474838 — registration information is not available neither on the host neither on the guest if you are not using a store disk.

This is because string context has been discarded and registration information is not enforced to remain on the host via alternative mechanisms, breaking on one hand the store invariants of Nix and on the other hand crippling Nix inside the VMs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions