Skip to content

colmena.lib.makeHive does not set nixpkgs.flake.source to the flake source. #326

Description

@matthew-salerno

nixosSystem will set nixpkgs.flake.source to nixpkgs.outPath. allowing /etc/nix/registry.json and $NIX_PATH to be populated correctly. makeHive does not replicate this behavior, leading to surprising outcomes. Behavior such as having an empty $NIX_PATH and /etc/nix/registry.json, or falling back on an old channel if you forgot to turn channels off. I documented my debugging process here:
https://ttamttam.com/blog/sneaky-nix-channels/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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