treewide: migrate python3Packages with toPythonApplication to by-name#454559
treewide: migrate python3Packages with toPythonApplication to by-name#454559qweered wants to merge 2 commits intoNixOS:masterfrom
Conversation
632a453 to
47eb907
Compare
|
Feels like you missed a few characters in the title. |
47eb907 to
15196b0
Compare
|
Done { python3Packages }: with python3Packages; toPythonApplication ble-serialbut i don't think it worth it |
15196b0 to
bd310a6
Compare
|
Still not right, should be |
bd310a6 to
f38c618
Compare
|
|
mmcv and mmengiine are failing on master too. lgtm ;) |
Decided to do that, -2 lines for 400 packages seems big enough and thats how they were done in all-packages.nix |
10ed6c4 to
d2dea14
Compare
|
What if we use what @emilazy sugggests for immideate improvement and migration from top-level? { lib, python3Packages, ... }@args:
let
inherit (python3Packages.somePkg) override;
in
python3Packages.toPythonApplication (
override (
removeAttrs args [
"lib"
"python3Packages"
]
// lib.intersectAttrs (lib.functionArgs override) args
)
)Then we can implement proper solution |
|
I don't see why EDIT: Sorry, duplicate of #454559 (comment) |
feb86dd to
eb8266d
Compare
eb8266d to
57a05d2
Compare
57a05d2 to
247071c
Compare
247071c to
a685b06
Compare
a685b06 to
065def5
Compare
|
I'm afraid it just doesn't make sense to change these at this stage. We first need to solve the .override problem for by-name in general. |
|
Putting this on hold until better solution |
|
I propose different solution in #473624 for now |
I have used this script:
Add a 👍 reaction to pull requests you find important.