Skip to content

Stack user guide is incompatible with the current stack-to-nix #72

@qrilka

Description

@qrilka

In https://github.com/input-output-hk/haskell.nix/blob/master/docs/user-guide-stack.md I see stack-to-nix invoked as

stack-to-nix -o nix stack.yaml > nix/.stack-pkgs.nix

But the version in the current master shows the following help:

stack-to-nix - a stack to nix converter

Usage: stack-to-nix (-o|--output DIR) [--stack-yaml FILE] [--cache FILE]
  Generate a Nix expression for a Haskell package using Stack

Available options:
  -o,--output DIR          Generate output in DIR
  --stack-yaml FILE        Override project stack.yaml (default: "stack.yaml")
  --cache FILE             Dependency cache
                           file (default: ".stack-to-nix.cache")
  -h,--help                Show this help text

and also it doesn't appear to produce anything to stdout.
Is it some older version maybe?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions