From 08010583fa42af1b2b5ab070e4742263d43b26cf Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Jul 2017 19:12:36 -0400 Subject: add bootstrapWith property to support stack and more * Hosts can be configured to build propellor using stack, by adding a property: & bootstrapWith (Robustly Stack) * Hosts can be configured to build propellor using cabal, but using only packages installed from the operating system. This will work on eg Debian: & bootstrapWith OSOnly propellor build its config using stack. (This does not affect how propellor is bootstrapped on a host by "propellor --spin host".) This has not yet been tested at all! But should probably work fine. This is based on earlier work by Arnaud Bailly, who made Propellor.Bootstrap use stack without parameterization. In Arnaud's patch, stack was installed using wget, but that only worked on linux-x86_64 and was insecure. I instead chose to use the distribution packages of stack, like is done for cabal. Debian stack has haskell-stack now, and it's getting into many distributions. This commit was sponsored by Francois Marier on Patreon. --- doc/README.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/README.mdwn') diff --git a/doc/README.mdwn b/doc/README.mdwn index ea622b3a..a4a38c5f 100644 --- a/doc/README.mdwn +++ b/doc/README.mdwn @@ -41,6 +41,8 @@ see [configuration for the Haskell newbie](https://propellor.branchable.com/hask 1. Get propellor installed on your development machine (ie, laptop). `cabal install propellor` or + `stack install propellor` + or `apt-get install propellor` 2. Run `propellor --init` ; this will set up a `~/.propellor/` git repository for you. -- cgit v1.2.3