diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-12 11:53:57 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-25 22:52:26 -0400 |
commit | 4c2127c4837d7e2588399c06b56b45b2d4c2f9b0 (patch) | |
tree | 8275789c49d6bdaae996fa25d25efc088dce529d /boot | |
parent | ff2b99e19fc4245c171edd399f0e18301e0ba535 (diff) | |
download | haskell-4c2127c4837d7e2588399c06b56b45b2d4c2f9b0.tar.gz |
Bump containers submodule to v0.6.2.1
Diffstat (limited to 'boot')
-rwxr-xr-x | boot | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -16,6 +16,11 @@ parser.add_argument('--validate', action='store_true', help='Run in validate mod parser.add_argument('--hadrian', action='store_true', help='Do not assume the make base build system') args = parser.parse_args() +# Packages whose libraries aren't in the submodule root +EXCEPTIONS = { + 'libraries/containers/': 'libraries/containers/containers/' +} + def print_err(s): print(dedent(s), file=sys.stderr) @@ -78,7 +83,7 @@ def check_boot_packages(): # but in an lndir tree we avoid making .git directories, # so it doesn't exist. We therefore require that every repo # has a LICENSE file instead. - license_path = os.path.join(dir_, 'LICENSE') + license_path = os.path.join(EXCEPTIONS.get(dir_+'/', dir_), 'LICENSE') if not os.path.isfile(license_path): die("""\ Error: %s doesn't exist @@ -91,9 +96,12 @@ def boot_pkgs(): for package in glob.glob("libraries/*/"): packages_file = os.path.join(package, 'ghc-packages') + print(package) if os.path.isfile(packages_file): for subpkg in open(packages_file, 'r'): library_dirs.append(os.path.join(package, subpkg.strip())) + elif package in EXCEPTIONS: + library_dirs.append(EXCEPTIONS[package]) else: library_dirs.append(package) |