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
[staging] wafHook: Don't wrap Python 2 #106533
Conversation
This is a draft until |
|
||
makeSetupHook { | ||
deps = [ python ]; |
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.
Something to mention in changelogs?
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.
Good idea, but I'm going to target staging soon and I was told that PRs to staging should not include changelog to prevent annoying conflicts
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.
Ok. I would just mention that there how to fix wafHook usage by also include python in nativeBuildInputs
.
98e146b
to
9f6d1ac
Compare
There are still builds failing but this seems unrelated to this PR.
|
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.
Changelog is needed. Other than that, this is the direction I think we should go with wafHook.
@FRidh do you want me to add it to this PR to staging? |
Yes |
9f6d1ac
to
d383aaf
Compare
Done and rebased to current staging |
d383aaf
to
279c594
Compare
Thank you |
Motivation for this change
Python 2 is dead, and just replacing it in the hook will most likely break builds that are not yet migrated to Python 3 (looking at you, gaia).
Closes #104701
Related to #69310
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)