haskell-stack-mirror-script icon indicating copy to clipboard operation
haskell-stack-mirror-script copied to clipboard

using mirror requires to manually supply a path to the stack setup yaml for running stack setup

Open AleXoundOS opened this issue 8 years ago • 0 comments

In order to run stack setup you have to supply a path to "mirror/stack-setup-mirror.yaml" manually with --setup-info-yaml option every time. This is due to inability of stack to use setup-info: field in "~/.stack/config.yaml" in a proper manner. See progress on these 2 issues related to improper treatment of it and possible fix: commercialhaskell/stack#2982 and commercialhaskell/stack#2983. The idea is that setup-info: field with a combination of urls: and package-indices in config.yaml file should be sufficient to perform any stack command using this offline mirror.

AleXoundOS avatar Mar 04 '17 17:03 AleXoundOS