Repository navigation
libcap_ng: support building python bindings - #546283
Conversation
|
I was evaluating |
| swig | ||
| ] | ||
| ++ lib.optionals withPython [ | ||
| python3Packages.python # m4 |
There was a problem hiding this comment.
yes, same issue as in libapparmor for different bits, and m4 does do python, yes
| }@python3Packages: | ||
| toPythonModule ( | ||
| pkgs.libcap_ng.override { | ||
| withPython = true; | ||
| inherit python3Packages; | ||
| } |
There was a problem hiding this comment.
| }@python3Packages: | |
| toPythonModule ( | |
| pkgs.libcap_ng.override { | |
| withPython = true; | |
| inherit python3Packages; | |
| } | |
| }: | |
| toPythonModule ( | |
| pkgs.libcap_ng.override { | |
| withPython = true; | |
| python3Packages = pythonPackages; | |
| } |
Normally I would suggest something like this.
There was a problem hiding this comment.
No, this causes issues with cross, see e.g. #476808
|
Does |
|
I wonder why my environment is different. Mine is |
|
oh hold on i was holding it wrong... I see what is going on. The splicing hacks in |
|
proposed fix in #547656 |

Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.