Skip to content

"stack new" can't be pointed at an intranet site #2804

@philipcraig

Description

@philipcraig

General summary/comments (optional)

"stack new" can't be pointed at an intranet site

Steps to reproduce

For example:

  1. Run command stack new foo

Expected

Some configuration option to get the templates from some intranet site

Actual

It ends up going to the url https://raw.githubusercontent.com/commercialhaskell/stack-templates/master/new-template.hsfiles which is not on the intranet site.

We've been able to control every other aspect of stack onto our intranet (via the --stack-setup-yaml argument, pointing at intranet stuff), but not stack new

Stack version

$ stack --version
Version 1.2.0, Git revision 241cd07d576d9c0c0e712e83d947e3dd64541c42 (4054 commits) x86_64 hpack-0.14.0

Method of installation

  • Official binary, downloaded from stackage.org or fpcomplete's package repository

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions