Skip to content

snapshot.yaml missing from source dist? #4860

@magthe

Description

@magthe

General summary/comments (optional)

I'm trying to build stack 2.1.1, with the pre-built stack 2.1.1.

Steps to reproduce

  1. Download source from hackage
  2. Download pre-built binaries from GitHub
  3. Run stack setup

Expected

GHC downloaded, no errors.

Actual

$ stack setup --verbose
Version 2.1.1, Git revision f612ea85316bbc327a64e4ad8d9f0b150dc12d4b (7648 commits) x86_64 hpack-0.31.2
2019-06-13 21:09:02.582459: [debug] Checking for project config at: /hfa/stack/src/stack-2.1.1/stack.yaml
2019-06-13 21:09:02.582949: [debug] Loading project config file stack.yaml
2019-06-13 21:09:02.593459: [debug] SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2019-06-12 21:09:02.593409327 UTC]
2019-06-13 21:09:02.593802: [debug] Not reading lock file
2019-06-13 21:09:02.594472: [error] Exception while reading snapshot from snapshot.yaml:
InvalidYaml (Just (YamlException "Yaml file not found: /hfa/stack/src/stack-2.1.1/snapshot.yaml"))

Stack version

$ stack --version
Version 2.1.1, Git revision f612ea85316bbc327a64e4ad8d9f0b150dc12d4b (7648 commits) x86_64 hpack-0.31.2

Method of installation

  • Official binary, downloaded from GitHub

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions