-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option for experimental emerge invocation
Add `--mode=reinstall-atoms` flag which uses experimental emerge invocation (using `--reinstall-atoms`). The rationale is that by marking broken packages by using `--reinstall-atoms`, portage will pretend that they are not yet installed, thus forcing their reinstallation. `--update` is used and all installed Haskell packages are targeted so that the entire Haskell environment is examined. This has a side-effect of skipping packages that are masked or otherwise unavailable while still rebuilding needed dependencies that have been broken. A new `--target=world` option has been added exclusively for `--mode=reinstall-atoms`, which sets the portage target to `@world`. This will hopefully provide a way to update the entire system while fixing broken Haskell packages as they appear. Reorganize command line options quite a bit as well, adding `--mode` and `--target` options as well as convenience/legacy aliases. Bug: #18 Signed-off-by: hololeap <[email protected]>
- Loading branch information
Showing
4 changed files
with
337 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.