Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoder error when showing nixus package #43

Open
adamdicarlo0 opened this issue Dec 19, 2023 · 2 comments
Open

Decoder error when showing nixus package #43

adamdicarlo0 opened this issue Dec 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@adamdicarlo0
Copy link

This package gives a decoder error: https://flakestry.dev/flake/github/infinisil/nixus/0.1.3

The Json.Decode.oneOf at json.packages failed in the following 2 ways:



(1) Problem with the value at json['aarch64-linux'].example:
    
        {}
    
    Expecting an OBJECT with a field named `type`



(2) Problem with the given value:
    
    {
            "x86_64-linux": {
                "example": {
                    "name": "deploy",
                    "type": "derivation"
                }
            },
            "aarch64-linux": {
                "example": {}
            },
            "x86_64-darwin": {
                "example": {}
            },
            "aarch64-darwin": {
                "example": {}
            }
        }
    
    Expecting null
@domenkozar domenkozar added the bug Something isn't working label Jan 1, 2024
@m1-s
Copy link

m1-s commented Feb 15, 2024

Tried to reproduce this by forking the repo and it published without problems: https://flakestry.dev/flake/github/m1-s/nixus/0.1.3

Can you provide some more details on how you got to this error?

@adamdicarlo0
Copy link
Author

The decoder error is on the linked webpage:

image

@adamdicarlo0 adamdicarlo0 changed the title Decoder error in nixus package Decoder error when showing nixus package Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants