Skip to content

Omitting input.<name>.flake from the written flake.nix #114

@mightyiam

Description

@mightyiam

I've just encountered a scenario:

  1. Using flake-file, write a flake with an input with flake=false.
  2. Modify that input to have flake=true and write the flake.

Expected behavior: the input in the lockfile now has flake=true (or at least not flake=false, whatever).

Actual behavior: after step two, the lockfile remains the same as it was before step two.

Turns out we shouldn't omit the flake attribute when it's true 🤷

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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