!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

575 Members
127 Servers

Load older messages


SenderMessageTime
24 Aug 2025
@qyliss:fairydust.spaceAlyssa RossBut we should figure out how to stop using the vendored Meson if that's what's happening18:50:22
@dramforever:matrix.orgdramforeverso https://github.com/NixOS/nixpkgs/pull/431074 did actually break it18:51:13
@dramforever:matrix.orgdramforever

status: trying this

     # Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
-    (python3Packages.python.withPackages (ps: with ps; [ distlib ]))
+    python3Packages.python
+    python3Packages.distlib
18:51:35
@qyliss:fairydust.spaceAlyssa RossMaybe there's just no way to not use vendored Meson any more?18:52:01
@dramforever:matrix.orgdramforeverno, qemu is built with non-vendored fine18:52:33
@dramforever:matrix.orgdramforeverat least it's 1.8.318:52:38
@qyliss:fairydust.spaceAlyssa Ross
If a package is available for the chosen interpreter, ``configure``
prepares a small script that invokes it from the venv itself\ [#distlib]_.
If not, ``configure`` can also optionally install dependencies in the
virtual environment with ``pip``, either from wheels in ``python/wheels``
or by downloading the package with PyPI.  Downloading can be disabled with
``--disable-download``; and anyway, it only happens when a ``configure``
option (currently, only ``--enable-docs``) is explicitly enabled but
the dependencies are not present.
18:52:42
@qyliss:fairydust.spaceAlyssa RossSo docs does make a difference?18:52:50
@qyliss:fairydust.spaceAlyssa Ross *
If a package is available for the chosen interpreter, ``configure``
prepares a small script that invokes it from the venv itself\ [#distlib]_.
If not, ``configure`` can also optionally install dependencies in the
virtual environment with ``pip``, either from wheels in ``python/wheels``
or by downloading the package with PyPI.  Downloading can be disabled with
``--disable-download``; and anyway, it only happens when a ``configure``
option (currently, only ``--enable-docs``) is explicitly enabled but
the dependencies are not present.
18:52:58
@qyliss:fairydust.spaceAlyssa Ross does --disable-download make a difference then? 18:53:15
@dramforever:matrix.orgdramforeveryes, this fixes qemu-user18:54:40
@dramforever:matrix.orgdramforevertesting full qemu rn18:54:43
@dramforever:matrix.orgdramforeversorry, i meant https://github.com/nixos/nixpkgs/commit/e651d115d5f2a6d37661578370993d345d97c71c did break it18:55:31
@dramforever:matrix.orgdramforeverappliable diff https://fars.ee/B0XU18:56:48
@dramforever:matrix.orgdramforeveri suspect hexa just did not see the python3Packages below18:57:53
@dramforever:matrix.orgdramforeverand decided to just wrap it while not knowing what's going on18:58:03
@hexa:lossy.networkhexayup, but it also fixed the native build18:58:43
@hexa:lossy.networkhexasorry if it broke cross18:58:46
@dramforever:matrix.orgdramforeverno, it also broke native18:58:54
@dramforever:matrix.orgdramforeverqemu-user, specifically18:59:00
@tpw_rules:matrix.orgtpw_rulesit fixed the build but the resulting binary doesn't work18:59:01
@hexa:lossy.networkhexait worked on python-updates18:59:04
@qyliss:fairydust.spaceAlyssa Rossqemu-user did?18:59:08
@hexa:lossy.networkhexaok18:59:08
@tpw_rules:matrix.orgtpw_rulesit didn't18:59:12
@hexa:lossy.networkhexathe build worked, I did not test qemu18:59:22
@dramforever:matrix.orgdramforeverqemu still worked, qemu-user didn't work18:59:23
@hexa:lossy.networkhexaok18:59:27
@dramforever:matrix.orgdramforeverso, anyway, any reason to wrap instead of python3Packages like before?18:59:50
@hexa:lossy.networkhexafeel free to unwrap, I'm honestly not sure how python environments compose without19:00:12

Show newer messages


Back to Room ListRoom Version: 6