Skip to content

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

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 🤷

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions