Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

shake install with cabal shouldn't depend on having stack installed #1380

@jneira

Description

@jneira
  • Currently running the shake install with cabal needs stack to get the symlink-bindir/installdir

  • We can't simply fallback to the value in global cabal config cause install needs it to copy hie executables prefixed with versions and afaik there is no a simple way to get the actual value of symlink-bindir/installdir from global cabal config

  • A possible solution would be fallback to a relative to cwd ./bin path but it will make users to copy manually the executables to the final location

  • Another solution would be add options to shake install to let users do somethink like cabal v2-run install.hs -- hie-8.6.5 --cabal-options="--installdir=path"

    • It would be a improvement itself but it would add complexity to build

//cc @power-fungus

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