From 745784f61bdd678e20b1b18743f18d458836a802 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 17 Jun 2020 17:57:04 -0400 Subject: Support bootstrapping to hosts using cabal 3.x, with new-dist directory. * Support bootstrapping to hosts using cabal 3.x, with new-dist directory. * Makefile: Fix build with cabal 3.x. This assumes that, once a new-dist directory is created, the host won't revert back to using dist. So it always prefers binaries from new-dist over dist. This commit was sponsored by LND on Patreon. --- .../comment_4_294fcbae675879cb81aeb8d37cf3b635._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/Bootstrapping_with_Cabal_on_Archlinux_fails/comment_4_294fcbae675879cb81aeb8d37cf3b635._comment (limited to 'doc/forum') diff --git a/doc/forum/Bootstrapping_with_Cabal_on_Archlinux_fails/comment_4_294fcbae675879cb81aeb8d37cf3b635._comment b/doc/forum/Bootstrapping_with_Cabal_on_Archlinux_fails/comment_4_294fcbae675879cb81aeb8d37cf3b635._comment new file mode 100644 index 00000000..726067da --- /dev/null +++ b/doc/forum/Bootstrapping_with_Cabal_on_Archlinux_fails/comment_4_294fcbae675879cb81aeb8d37cf3b635._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2020-06-17T21:33:14Z" + content=""" + cabal install --install-method=symlink --installdir=. exe:propellor --overwrite-policy=always + +But, this seems to do a lot of extra work, including generating a tarball +of all the source code, and possibly building the package again +unncessarily. And only works with a new enough cabal version. + +Ok, I've implemented it using `find`. +"""]] -- cgit v1.2.3