diff options
| author | mithrandi@311efa1b2b5c4999c2edae7da06fb825899e8a82 <mithrandi@web> | 2016-03-07 20:11:28 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2016-03-07 20:11:28 +0000 |
| commit | fe00952cab03ae65420cd8a3d2e0d9b258599d58 (patch) | |
| tree | 79ab16cce1a7065c3b928c04e4b109c5b274b306 /doc/todo | |
| parent | 90965e34489bc7d4bf9d6425c722d6bd82f04b7a (diff) | |
Added a comment
Diffstat (limited to 'doc/todo')
| -rw-r--r-- | doc/todo/detect_and_use___96__GHC__95__PACKAGE__95__PATH__96__/comment_2_c111d137cbaa72b4e6a4c7df3ce2063c._comment | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/todo/detect_and_use___96__GHC__95__PACKAGE__95__PATH__96__/comment_2_c111d137cbaa72b4e6a4c7df3ce2063c._comment b/doc/todo/detect_and_use___96__GHC__95__PACKAGE__95__PATH__96__/comment_2_c111d137cbaa72b4e6a4c7df3ce2063c._comment new file mode 100644 index 00000000..21791330 --- /dev/null +++ b/doc/todo/detect_and_use___96__GHC__95__PACKAGE__95__PATH__96__/comment_2_c111d137cbaa72b4e6a4c7df3ce2063c._comment @@ -0,0 +1,31 @@ +[[!comment format=mdwn + username="mithrandi@311efa1b2b5c4999c2edae7da06fb825899e8a82" + nickname="mithrandi" + subject="comment 2" + date="2016-03-07T20:11:28Z" + content=""" +I got Propellor to work with stack by applying this patch (to disable the auto-building): + +``` +diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs +index 5dbc583..b83bb91 100644 +--- a/src/Propellor/CmdLine.hs ++++ b/src/Propellor/CmdLine.hs +@@ -119,7 +119,7 @@ defaultMain hostlist = withConcurrentOutput $ do + fetchFirst (onlyprocess (update Nothing)) + go _ (Update (Just h)) = update (Just h) + go _ Merge = mergeSpin +- go cr cmdline@(Spin hs mrelay) = buildFirst cr cmdline $ do ++ go _ cmdline@(Spin hs mrelay) = buildFirst NoRebuild cmdline $ do + unless (isJust mrelay) commitSpin + forM_ hs $ \hn -> withhost hn $ spin mrelay hn + go cr (Run hn) = fetchFirst $ +``` + +I then replaced the \"propellor\" binary/symlink with this little wrapper: + +``` +#!/bin/sh +stack build && exec stack exec -- propellor-config \"$@\" +``` +"""]] |
