staging-next 2025-11-02 (#457894)
This commit is contained in:
@@ -99,6 +99,11 @@ sed -r \
|
||||
-e '/ Agda /d' \
|
||||
-e '/ stack /d' \
|
||||
-e '/ git-annex /d' \
|
||||
-e '/ hledger /d' \
|
||||
-e '/ hledger-iadd /d' \
|
||||
-e '/ hledger-lib /d' \
|
||||
-e '/ hledger-ui /d' \
|
||||
-e '/ hledger-web /d' \
|
||||
< "${tmpfile_new}" >> $stackage_config
|
||||
# Explanations:
|
||||
# cabal2nix, distribution-nixpkgs, jailbreak-cabal, language-nix: These are our packages and we know what we are doing.
|
||||
|
||||
@@ -92,7 +92,15 @@ async def attr_instantiation_worker(
|
||||
) -> tuple[Path, str]:
|
||||
async with semaphore:
|
||||
eprint(f"Instantiating {attr_path}…")
|
||||
return (await nix_instantiate(attr_path), attr_path)
|
||||
try:
|
||||
return (await nix_instantiate(attr_path), attr_path)
|
||||
except Exception as e:
|
||||
# Failure should normally terminate the script but
|
||||
# looks like Python is buggy so we need to do it ourselves.
|
||||
eprint(f"Failed to instantiate {attr_path}")
|
||||
if e.stderr:
|
||||
eprint(e.stderr.decode("utf-8"))
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
async def requisites_worker(
|
||||
|
||||
Reference in New Issue
Block a user