Skip to content

Commit f63f1d3

Browse files
committed
Update flake, fix pyrad build
The build fails for me with File "/nix/store/3wbw03q2z5d7ys1pzp30rmzn6qcxnyrp-python3.12-poetry-core-2.0.0/lib/python3.12/site-packages/poetry/core/masonry/metadata.py", line 112, in from_package if name == "repository" and url == package.urls["Repository"]: ~~~~~~~~~~~~^^^^^^^^^^^^^^ KeyError: 'Repository' error: subprocess-exited-with-error Making the `repository` key in the `urls` section of `pyproject.toml` fixes the build. There's a pending upstream PR doing the same: pyradius/pyrad#209
1 parent bf5a5bf commit f63f1d3

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

flake.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poetry2nix-python-overrides.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ pkgs:
106106
pyrad = prev.pyrad.overrideAttrs (oA: {
107107
postPatch = ''
108108
substituteInPlace pyproject.toml \
109-
--replace-fail "poetry.masonry.api" "poetry.core.masonry.api"
109+
--replace-fail "poetry.masonry.api" "poetry.core.masonry.api" \
110+
--replace-fail "repository =" "Repository ="
110111
'';
111112
});
112113
msgraph-sdk = prev.msgraph-sdk.overrideAttrs (oA: {

0 commit comments

Comments
 (0)