Skip to content

Only elevate privileges in apply-local during activation #85

@zhaofengli

Description

@zhaofengli

In apply-local, we currently elevate privileges as early as possible and re-run Colmena as root. This means that all nix calls during evaluation and build are done as root, leading to issues like NixOS/nixpkgs#169193. We should only elevate privileges as needed when running the activation scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions