After execute the command, the error messages as below
ERROR: Could not find a version that satisfies the requirement argparse>=1.1 (from mugrade) (from versions: none)
ERROR: No matching distribution found for argparse>=1.1
error: builder for '/nix/store/wyvxgs8lspbwz8zhkx507njzni94cgsh-python3.9-mugrade.drv' failed with exit code 1;
last 10 log lines:
> adding 'mugrade-1.2.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Finished executing setuptoolsBuildPhase
> installing
> Executing pipInstallPhase
> /build/source/dist /build/source
> Processing ./mugrade-1.2-py3-none-any.whl
> ERROR: Could not find a version that satisfies the requirement argparse>=1.1 (from mugrade) (from versions: none)
> ERROR: No matching distribution found for argparse>=1.1
>
For full logs, run 'nix log /nix/store/wyvxgs8lspbwz8zhkx507njzni94cgsh-python3.9-mugrade.drv'.
$ nix log /nix/store/wyvxgs8lspbwz8zhkx507njzni94cgsh-python3.9-mugrade.drv
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
So, I think I need to handle the path of argparse.
You can probably force this to work by just making sure both of the python packages you’re adding expressions for are also included in the withPackages environment.