summaryrefslogtreecommitdiff
path: root/doc/todo/use_stack_for_remote_building_propellor/comment_1_8a97e9ce919fa59f2e36bdd4eb3a7174._comment
blob: 90dfafbca9847f648d1300a2b052f02332777d70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2016-05-29T18:50:07Z"
 content="""
`stack install propellor` is already supported, and when `propellor --init`
detects it was installed that way, it will set up the user's propellor 
config to also be built using stack locally (via `git config
propellor.buildsystem stack`).

Supporting using stack to build propellor on the Host too is
the missing part, and something I'd take a patch for.

Your patch as it stands discards the cabal support. 
But, I personally want to continue building propellor with cabal on my
Hosts, at least until stack is available in Debian stable, and
probably longer. (I use Debian's ghc and haskell packages for other things
on my hosts, so using stack would waste disk space.)

I feel there needs to be a way to configure this. It would probably be fine to
use stack on the remote host if the local propellor repository has
`git config propellor.buildsystem stack` set. Or perhaps it should be
configured in the config.hs.
"""]]