-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aria2: refactor to avoid python2 dependency #101978
Conversation
Use python3 Sphinx package instead of python2 Sphinx package, to avoid build-time dependency on python 2, as per NixOS#101964
Result of 6 packages failed to build:
From aria.log:
|
Hmmm.... Here's what happens for me, on Debian if that matters:
|
Tested working on x86_64 Archlinux starting with an empty /nix directory. Managed to download a magnet torrent with the built aria2c. Logs
|
Could it be that my fail is related to an error in the perl package rather than aria2? |
I tested it again on a freshly installed NixOS 20.09 VM, and could not reproduce @SuperSandro2000's problem. Logs:
|
Result of 1 package marked as broken and skipped:
2 packages failed to build:
4 packages built:
Uget depends on Aria and would be broken with this PR https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/uget/default.nix#L2. Please fix. |
AFAICT, there should be nothing in this PR that relates to whether uget's configure script can find FWIW, uget builds fine for me with this PR, both on my Debian machine with Nix installed and on a NixOS 20.09 VM. @SuperSandro2000 can you check that you are able to build uget on the master branch without this PR? Update: I have a fix for this in https://github.com/braunse/nixpkgs/tree/patch-configure-shebang-in-uget. |
To fix build failure referenced in NixOS#101978 (comment)
Result of 1 package marked as broken and skipped:
1 package failed to build:
5 packages built:
|
Uget gets pulled from cache for me so I can't check if it build or not but I suppose it should. Edit: Now Uget builds after collecting nix store garbage. The persepolis build failure is unrelated to this PR.
But this is fixed on master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Result of nixpkgs-review pr 101978 1
1 package marked as broken and skipped:
- kiwix
6 packages built:
- aria (aria2)
- persepolis
- python37Packages.aria2p
- python38Packages.aria2p
- uget
- uget-integrator
Use python3 Sphinx package instead of python2 Sphinx package,
to avoid build-time dependency on python 2.
Motivation for this change
To remove the build dependency on python2, as per #101964
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)