Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

stack-to-nix/lts-to-nix doesn't understand snapshot extensions #1677

Copy link
Copy link
Open
@locallycompact

Description

@locallycompact
Issue body actions

I was trying to use stack-to-nix to print nix expressions for a stack snapshot extension however I've encountered two problems.

The first is that stack-to-nix does not understand urls in the resolver. Where

resolver: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2021/8/5.yaml

we have

AesonException "Error in $.resolver: expected String, but encountered Object"

The second problem is that stack-to-nix does not understand archive: entries in the packages: section, only in the extra-deps section. A snapshot extension must use packages to list archives, not extra-deps.

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.