Commit 6fd47de4 authored by Jack Todaro's avatar Jack Todaro
Browse files

Update README.rst overlay instructions

I have added instructions on using eselect-repository for
Gentoo overlay management, as well as updating the layman
instructions to be in line with those provided in the Gentoo
Wiki layman entry.
parent 19398d70
...@@ -9,17 +9,29 @@ travis.ci: ...@@ -9,17 +9,29 @@ travis.ci:
Quickest start Quickest start
============== ==============
Haskell overlay consists of unstable software, so you'll First, let's enable the Gentoo Haskell overlay. We can either use the
likely need to keyword everything in it:: eselect-repository method::
# install layman, if you don't have it yet: # Install eselect-repository if you don't already have it
emerge layman emerge app-eselect/eselect-repository
layman -f # Fetch and output the list of overlays
echo source /var/lib/layman/make.conf >> /etc/portage/make.conf eselect repository list
# eselect repository enable haskell
# and the overlay configuration itself:
or we can use the layman method::
# Add important USE flags for layman to your package.use directory:
echo "app-portage/layman sync-plugin-portage git" >> /etc/portage/package.use/layman
# Install layman if you don't already have it
emerge app-portage/layman
# Rebuild layman's repos.conf file:
layman-updater -R
# Add the Gentoo Haskell overlay:
layman -a haskell layman -a haskell
# and unmask unstable versions for your arch:
Finally, we need to unmask the overlay (this does not apply if your system
is already running on the ~testing branch)::
# unmask testing versions for your arch:
echo "*/*::haskell ~$(portageq envvar ARCH)" >> /etc/portage/package.accept_keywords echo "*/*::haskell ~$(portageq envvar ARCH)" >> /etc/portage/package.accept_keywords
And here is the trick to speed up metadata resolution a bit. And here is the trick to speed up metadata resolution a bit.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment