Skip to content

Can't build using stack on OS X #12

@jwhitley

Description

@jwhitley

[N.B.: this is quite possibly also relevant to commercialhaskell/stack than stackage-view, but I'm starting the discussion here.]

Repro steps

  1. On an OS X box, install stack and clone this repo.
  2. cd path/to/stackage-view
  3. stack build

Actual results

>> stack build
Cannot find 'docker' in PATH.  Is Docker installed?

Expected results

stackage-view builds natively, so it can be invoked in a Cabal project directory.

Notes

The stack.yml file includes the stanza:

docker:
  repo: fpco/ghcjs-dev

This means that what should be a straightforward local build of this tool now must be built inside of a docker instance. This makes for a positively bizarre workflow, since the primary usage of this tool appears to be on a development host.

I fully understand the benefits of fully reproducible builds using docker (and VMs in general). Yet those benefits don't appear to apply to stackage-view because it's a client tool, not a server tool.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions