Skip to content

Packages with comments in spago.yaml might break #80

@bakhtiyarneyman

Description

@bakhtiyarneyman

We are trying to parse spago.yaml using fromYAML but the latter only supports the skeletal syntax that spago.lock uses.

then lib.attrByPath ["package" "publish" "version"] defaultVersion (fromYAML (builtins.readFile "${drv.out}/spago.yaml"))

For now we should probably just emit 0.0.0 until there is a better solution. I'm not holding my breath for this PR but it seems the be the right way of doing things.

NixOS/nix#7340

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