!VjfUzaKsXokUdnQcvP:nixos.org

Nixpkgs Python

412 Members
Python packaging for and with Nixpkgs. | We are not involved in #dream2nix:nixos.org, mach-nix (unmaintained), #poetry2nix:nixos.org and other out-of-tree tools97 Servers

Load older messages


SenderMessageTime
18 Oct 2024
@qyliss:fairydust.spaceAlyssa Rossmaybe the .so has some other C++ symbols that will be more identifiable19:55:19
@drupol:matrix.orgPolmmh OK19:58:40
@drupol:matrix.orgPolI will try to disable the test, build the package and run some experimentations.20:00:37
@drupol:matrix.orgPolIf you have suggestions, feel free to share :)20:00:57
@drupol:matrix.orgPolimage.png
Download image.png
20:04:56
@drupol:matrix.orgPol Looks like no symbols are missing when using ldd. 20:05:16
@qyliss:fairydust.spaceAlyssa RossDoes ldd show missing symbols?20:06:13
@drupol:matrix.orgPolimage.png
Download image.png
20:08:44
@drupol:matrix.orgPolNope... 20:08:55
@qyliss:fairydust.spaceAlyssa Rossno, I mean, I'm not sure showing missing symbols is functionality ldd has20:11:13
@qyliss:fairydust.spaceAlyssa Rossldd prints linked libraries20:11:22
@drupol:matrix.orgPolOh. My mistake then.20:12:23
@ihar.hrachyshka:matrix.orgIhar Hrachyshka joined the room.21:24:32
20 Oct 2024
@dan:djc.id.au@dan:djc.id.au left the room.06:34:05
@creepinson:matrix.orgTheo Paris What would be the best way to package upstream mkbootimg from mainline AOSP outside of nixpkgs? The upstream repository doesn't contain a setup.py or pyproject.toml, nor does it have an init.py structure, so I can't use buildPythonApplication. The only way I know how to do this is via mkDerivation and manually copying *.py to $out/bin, however that doesn't account for the gki directory 06:47:07
@creepinson:matrix.orgTheo Paris * What would be the best way to package upstream mkbootimg from mainline AOSP outside of nixpkgs? The upstream repository doesn't contain a setup.py or pyproject.toml, nor does it have an __init__.py structure, so I can't use buildPythonApplication. The only way I know how to do this is via mkDerivation and manually copying *.py to $out/bin, however that doesn't account for the gki directory 06:47:25
@creepinson:matrix.orgTheo Paris * What would be the best way to package upstream mkbootimg from mainline AOSP outside of nixpkgs? The upstream repository doesn't contain a setup.py or pyproject.toml, nor does it have an __init__.py structure, so I can't use buildPythonApplication. The only way I know how to do this is via mkDerivation and manually copying *.py to $out/bin, however that doesn't account for the gki directory that gets imported 06:47:38
@emilazy:matrix.orgemily it's already in android-tools 06:53:19
@creepinson:matrix.orgTheo ParisI know06:56:14
@creepinson:matrix.orgTheo ParisI tried writing a setup.py in postUnpack but the problem is the python files aren't in a subdirectory for a module, they are in the root of the repo06:57:39
@creepinson:matrix.orgTheo Paris * I tried writing a setup.py in postUnpack but the problem is the python files aren't in a subdirectory for a module, they are in the root of the repo. I guess I could mv them 06:57:52
@emilazy:matrix.orgemily if you want it as a separate package for closure size reasons, make it a separate output of android-tools? 06:58:12
@emilazy:matrix.orgemilyah, you said "outside of Nixpkgs", I thought you said "inside"06:58:28
@emilazy:matrix.orgemily well, I don't know what the motivation is, but can't you just reuse the existing build system that android-tools uses? 06:58:39
@emilazy:matrix.orgemily you can perhaps convince it to only build mkbootimg 06:58:46
@kirillrdy:matrix.orgkirillrdy is leaking of propagated build inputs for python applications a known issue ? https://github.com/NixOS/nixpkgs/pull/300186#discussion_r1805586570 cc hexa (PEP725 when) natsukium ? 09:32:22
@kirillrdy:matrix.orgkirillrdythere are a few examples of derivations deleting rm $out/nix-support/propagated-build-inputs09:35:37
@hexa:lossy.networkhexa (PEP725 when)Yss11:18:19
@hexa:lossy.networkhexa (PEP725 when) * 11:19:20
21 Oct 2024
@artur:glasgow.social(artur 'manuel) changed their display name from (lambda (f l) (format nil "~a ~a")) "Artur" "Manuel" to (artur 'manuel).20:03:29

There are no newer messages yet.


Back to Room ListRoom Version: 6