Merge pull request #688 from sepiabrown/tqdm

overrides.tqdm: fix `overrideAttrs` to `overridePythonAttrs`
This commit is contained in:
adisbladis 2022-07-24 20:20:40 +08:00 committed by GitHub
commit 8b8edc85d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2287,7 +2287,7 @@ lib.composeManyExtensions [
# For some reason the toml dependency of tqdm declared here: # For some reason the toml dependency of tqdm declared here:
# https://github.com/tqdm/tqdm/blob/67130a23646ae672836b971e1086b6ae4c77d930/pyproject.toml#L2 # https://github.com/tqdm/tqdm/blob/67130a23646ae672836b971e1086b6ae4c77d930/pyproject.toml#L2
# is not translated correctly to a nix dependency. # is not translated correctly to a nix dependency.
tqdm = super.tqdm.overrideAttrs ( tqdm = super.tqdm.overridePythonAttrs (
old: { old: {
buildInputs = [ super.toml ] ++ (old.buildInputs or [ ]); buildInputs = [ super.toml ] ++ (old.buildInputs or [ ]);
} }