nix: provide override for typing-extensions
typing-extensions now needs flit
This commit is contained in:
parent
4f074a7907
commit
e8cce1f8b9
1 changed files with 10 additions and 0 deletions
|
@ -11,6 +11,16 @@ let
|
|||
src = bookwyrmSource;
|
||||
python = python39;
|
||||
|
||||
# typing-extensions needs flit
|
||||
# see https://github.com/nix-community/poetry2nix/issues/218
|
||||
overrides = poetry2nix.overrides.withDefaults (final: prev: {
|
||||
typing-extensions = prev.typing-extensions.overridePythonAttrs (
|
||||
prevAttrs: {
|
||||
buildInputs = (prevAttrs.buildInputs or []) ++ [ final.flit-core ];
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue