You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
I keep getting this error packaging.version.InvalidVersion: Invalid version: 'unstable-2022-01-20' when trying to start up my nix environment. Below is a more complete stack trace of the error:
Stack trace
building '/nix/store/911dvip5w647kdq0pxiwsahlgg01wqa7-mach_nix_file.drv'...
Traceback (most recent call last):
File "/nix/store/bl1hg4jv6m0xqaqzlfifs4ykqqd0g9jv-596icq9xnd5b4qipna0rv458y4vgrq5r-mach-nix-src/mach_nix/generate.py", line 110, in <module>
main()
File "/nix/store/bl1hg4jv6m0xqaqzlfifs4ykqqd0g9jv-596icq9xnd5b4qipna0rv458y4vgrq5r-mach-nix-src/mach_nix/generate.py", line 103, in main
do()
File "/nix/store/bl1hg4jv6m0xqaqzlfifs4ykqqd0g9jv-596icq9xnd5b4qipna0rv458y4vgrq5r-mach-nix-src/mach_nix/generate.py", line 46, in do
nixpkgs = NixpkgsIndex(nixpkgs_json)
File "/nix/store/bl1hg4jv6m0xqaqzlfifs4ykqqd0g9jv-596icq9xnd5b4qipna0rv458y4vgrq5r-mach-nix-src/mach_nix/data/nixpkgs.py", line 32, in __init__
version = parse_ver(nix_data["version"])
File "/nix/store/ixxrk9r5yvdmqfcp4axk9nb6gzjaby5y-python3-3.9.16-env/lib/python3.9/site-packages/packaging/version.py", line 52, in parse
return Version(version)
File "/nix/store/ixxrk9r5yvdmqfcp4axk9nb6gzjaby5y-python3-3.9.16-env/lib/python3.9/site-packages/packaging/version.py", line 197, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: 'unstable-2022-01-20'
error: builder for '/nix/store/911dvip5w647kdq0pxiwsahlgg01wqa7-mach_nix_file.drv' failed with exit code 1;
last 10 log lines:
> do()
> File "/nix/store/bl1hg4jv6m0xqaqzlfifs4ykqqd0g9jv-596icq9xnd5b4qipna0rv458y4vgrq5r-mach-nix-src/mach_nix/generate.py", line 46, in do
> nixpkgs = NixpkgsIndex(nixpkgs_json)
> File "/nix/store/bl1hg4jv6m0xqaqzlfifs4ykqqd0g9jv-596icq9xnd5b4qipna0rv458y4vgrq5r-mach-nix-src/mach_nix/data/nixpkgs.py", line 32, in __init__
> version = parse_ver(nix_data["version"])
> File "/nix/store/ixxrk9r5yvdmqfcp4axk9nb6gzjaby5y-python3-3.9.16-env/lib/python3.9/site-packages/packaging/version.py", line 52, in parse
> return Version(version)
> File "/nix/store/ixxrk9r5yvdmqfcp4axk9nb6gzjaby5y-python3-3.9.16-env/lib/python3.9/site-packages/packaging/version.py", line 197, in __init__
> raise InvalidVersion(f"Invalid version: '{version}'")
> packaging.version.InvalidVersion: Invalid version: 'unstable-2022-01-20'
For full logs, run 'nix log /nix/store/911dvip5w647kdq0pxiwsahlgg01wqa7-mach_nix_file.drv'.
This began to happen after I updated the revs and sha sums of both nixpkgs and pypi-deps-db. The previous revs were e64df9c5c8ffa0c9a82006e410ad630e32e6063d and c6a6acdbc1320cbb36d0fee0be00a0c5baf76ad9, respectively. Any idea what's going on or suggestions I could try?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I keep getting this error
packaging.version.InvalidVersion: Invalid version: 'unstable-2022-01-20'
when trying to start up my nix environment. Below is a more complete stack trace of the error:Stack trace
This is my sources.json file:
sources.json
This began to happen after I updated the revs and sha sums of both
nixpkgs
andpypi-deps-db
. The previous revs weree64df9c5c8ffa0c9a82006e410ad630e32e6063d
andc6a6acdbc1320cbb36d0fee0be00a0c5baf76ad9
, respectively. Any idea what's going on or suggestions I could try?The text was updated successfully, but these errors were encountered: