Skip to content

stack-to-nix cannot handle github key in extra-deps #213

Closed
input-output-hk/nix-tools
#59
@ttuegel

Description

@ttuegel

In stack.yaml I have,

extra-deps:
  - graphviz-2999.20.0.3@sha256:cde383c356bc41136ed53cd27e0800f46dbd2185600dd0de18d66d5c49739d94
  - tasty-hedgehog-0.2.0.0@sha256:83a8b777fa472040979e44dba43c32441f55d5ddb9641a4d53deee4b0e09fa34
  - github: ttuegel/haskell-src-exts
    commit: 363dbd17d91ba58ac877d205c5e82c1672367008
    sha256: e02e7317509cb1c766b7f591bb7304fb436928ce6d99565a214f70467781aabe
    size: 1248687

stack-to-nix complains:

stack-to-nix: AesonException "Error in $['extra-deps'][2]: key \"git\" not present"
CallStack (from HasCallStack):
  error, called at stack2nix/Stack2nix.hs:55:18 in main:Stack2nix

I am using nix-tools from haskell.nix commit 3d79fa9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions