!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

569 Members
124 Servers

Load older messages


SenderMessageTime
18 Aug 2025
@dramforever:matrix.orgdramforeverthat's what i mean, i'm not sure it's a bug15:32:53
@artturin:matrix.orgArtturinIt's a workaround which works around a another limitation 15:34:24
@dramforever:matrix.orgdramforeverthat i agree15:34:32
@artturin:matrix.orgArtturinFollow the issue link in https://github.com/NixOS/nixpkgs/issues/43430715:34:34
@artturin:matrix.orgArtturin * pr link 15:34:44
@artturin:matrix.orgArtturin * * pr link in the body 15:34:48
@artturin:matrix.orgArtturinIt's quite complicated and I'm not sure why the hooks are spliced wrong out of the scope15:36:23
@dramforever:matrix.orgdramforever do you think pkgsCross.*.python3Packages.callPackage should provide a spliced wrapPython? 15:37:25
@dramforever:matrix.orgdramforeverfor the record i have no idea15:38:14
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/228139 would make it provide a spliced wrapPython, however yaml-merge doesn't use python3Packages.callPackage15:38:17
@dramforever:matrix.orgdramforever i think if it provides spliced wrapPython, then we have to fix the offsets (#434307), and it will make yaml-merge work, so i'm probably thinking something wrong 15:40:27
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/blob/62ef08e9a4d536471ab381a7ae39d38dc79b23a3/lib/customisation.nix#L717 the keep makes the attrs not spliced inside the scope15:40:31
@artturin:matrix.orgArtturinActually hmm15:42:17
@artturin:matrix.orgArtturin* Maybe the self there is the reason why the python has wrong offsets15:43:43
@dramforever:matrix.orgdramforever also the workaround in yaml-merge should probably just be pkgsHostTarget.python3Packages.wrapPython 15:44:13
@dramforever:matrix.orgdramforeveri'll put that on the pr15:44:58
@dramforever:matrix.orgdramforeverwrapPython is "a bit like" stdenv15:47:43
@artturin:matrix.orgArtturinAs a workaround to https://github.com/NixOS/nixpkgs/issues/21134016:09:47
@artturin:matrix.orgArtturin* Only as a workaround to https://github.com/NixOS/nixpkgs/issues/21134016:09:55
@dramforever:matrix.orgdramforeveri was thining about this16:23:58
@dramforever:matrix.orgdramforever* i was thinking about this16:24:02
@dramforever:matrix.orgdramforeverokay that, seems orthogonal right?16:25:33
@dramforever:matrix.orgdramforeverunless by linking to #211340 you mean general splicing woes16:26:08
@quadradical:federated.nexusQuadRadical (Ping) hmm
warning: Git tree '/home/quadradical/.config/nixos' is dirty
error: builder for '/nix/store/lylfhy4zps6hxm1ar74iqrdqyxg4iwa4-brltty-aarch64-unknown-linux-gnu-6.8.drv' failed with exit code 2;
       last 25 log lines:
       > checking for g++ option to enable C++11 features... unsupported
       > checking for g++ option to enable C++98 features... unsupported
       > checking whether C compiler accepts -Werror=unknown-warning-option... no
       > checking whether C compiler accepts -Werror=format-security... yes
       > checking whether C compiler accepts -Werror=address-of-packed-member... yes
       > checking whether C compiler accepts -Werror=stringop-truncation... yes
       > checking whether C compiler accepts -Werror=initializer-overrides... no
       > checking for __attribute__((packed))... yes
       > checking for __attribute__((unused))... yes
       > checking for __attribute__((format))... yes
       > checking for __attribute__((format_arg))... yes
       > checking for __attribute__((noreturn))... yes
       > checking for __attribute__((unused))... yes
       > checking for ld... aarch64-unknown-linux-gnu-ld
       > checking for strip... aarch64-unknown-linux-gnu-strip
       > checking for ranlib... aarch64-unknown-linux-gnu-ranlib
       > checking for gawk... gawk
       > checking whether ln -s works... yes
       > checking for pkg-config... no
       > configure: error: pkg-config not found
       > configurePhase completed in 54 seconds
       > Running phase: buildPhase
       > build flags: SHELL=/nix/store/gkwbw9nzbkbz298njbn3577zmrnglbbi-bash-5.3p0/bin/bash PYTHON_PREFIX=\$\(out\) SYSTEMD_UNITS_DIRECTORY=\$\(out\)/lib/systemd/system SYSTEMD_USERS_DIRECTORY=\$\(out\)/lib/sysusers.d SYSTEMD_FILES_DIRECTORY=\$\(out\)/lib/tmpfiles.d UDEV_PARENT_LOCATION=\$\(out\)/lib INSTALL_COMMANDS_DIRECTORY=\$\(out\)/libexec/brltty UDEV_RULES_TYPE=all POLKIT_POLICY_DIR=\$\(out\)/share/polkit-1/actions POLKIT_RULE_DIR=\$\(out\)/share/polkit-1/rules.d TCL_DIR=\$\(out\)/lib
       > common.mk:24: forbuild.mk: No such file or directory
       > make: *** No rule to make target 'forbuild.mk'.  Stop.
       For full logs, run 'nix log /nix/store/lylfhy4zps6hxm1ar74iqrdqyxg4iwa4-brltty-aarch64-unknown-linux-gnu-6.8.drv'.
error: 1 dependencies of derivation '/nix/store/g0jwslkbnp0c3nlbkm4m15ygavxfmwgc-orca-48.6-aarch64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4r6jjv2fngngr7wk61yfqzf9p4vqjlzf-man-paths.drv' failed to build
17:39:44
@quadradical:federated.nexusQuadRadical (Ping)why is orca even getting built hmm17:39:51
@quadradical:federated.nexusQuadRadical (Ping) hmm
quadradical@quadraticpc ~/.c/nixos (main)> nix why-depends .#nixosConfigurations.quadphone.config.system.build.image --derivation /nix/store/g0jwslkbnp0
c3nlbkm4m15ygavxfmwgc-orca-48.6-aarch64-unknown-linux-gnu.drv
warning: Git tree '/home/quadradical/.config/nixos' is dirty
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/g0jwslkbnp0c3nlbkm4m15ygavxfmwgc-orca-48.6-aarch64-unknown-linux-gnu.drv^*'
/nix/store/snng5rb6nbk3nq1hpzzg92747rx45v08-image.drv
└───/nix/store/hpidwwsxfc9hs08gi3mpyp92lhs33550-nixos-system-quadphone-25.11.20250812.005433b.drv
    └───/nix/store/3slqg6xw3gas6yn13zd6fzfxn7nv639y-system-path.drv
        └───/nix/store/g0jwslkbnp0c3nlbkm4m15ygavxfmwgc-orca-48.6-aarch64-unknown-linux-gnu.drv
17:40:42
@artturin:matrix.orgArtturin Add --all 17:48:47
@artturin:matrix.orgArtturinIt's probably coming from a module17:49:00
@quadradical:federated.nexusQuadRadical (Ping)
/nix/store/snng5rb6nbk3nq1hpzzg92747rx45v08-image.drv
├───/nix/store/hpidwwsxfc9hs08gi3mpyp92lhs33550-nixos-system-quadphone-25.11.20250812.005433b.drv
│   ├───/nix/store/3slqg6xw3gas6yn13zd6fzfxn7nv639y-system-path.drv
│   │   └───/nix/store/g0jwslkbnp0c3nlbkm4m15ygavxfmwgc-orca-48.6-aarch64-unknown-linux-gnu.drv
│   └───/nix/store/y60cd9kj5a4kikviwa9dfy2rpb52xifg-etc.drv
│       ├───/nix/store/3slqg6xw3gas6yn13zd6fzfxn7nv639y-system-path.drv
│       ├───/nix/store/4ya2v7sdvb9a19fsx2hljdl2nm602s5a-system_fish-completions.drv
│       │   └───/nix/store/9k20fkr35a8ily9kzklb2hjqa7vw48dx-orca-48.6-aarch64-unknown-linux-gnu_fish-completions.drv
│       │       └───/nix/store/g0jwslkbnp0c3nlbkm4m15ygavxfmwgc-orca-48.6-aarch64-unknown-linux-gnu.drv
│       ├───/nix/store/55457b3zdbsxshd10fdckxdfpwi3vdad-dbus-1.drv
│       │   └───/nix/store/3slqg6xw3gas6yn13zd6fzfxn7nv639y-system-path.drv
│       ├───/nix/store/816xdd13bzlhyg25p8jn94zgn1xq0h17-set-environment.drv
│       │   └───/nix/store/3slqg6xw3gas6yn13zd6fzfxn7nv639y-system-path.drv
│       ├───/nix/store/gxvrbbwps4va61fn8iqxg3smhv80xxmm-system-units.drv
│       │   ├───/nix/store/1915qvyfslm0fqmcgbh6gd3l7gm1yckp-unit-display-manager.service.drv
│       │   │   └───/nix/store/g0jwslkbnp0c3nlbkm4m15ygavxfmwgc-orca-48.6-aarch64-unknown-linux-gnu.drv
│       │   ├───/nix/store/6r0icgh495dyvgzdwm46yah7mhz1arbd-unit-accounts-daemon.service.drv
│       │   │   └───/nix/store/3slqg6xw3gas6yn13zd6fzfxn7nv639y-system-path.drv
│       │   ├───/nix/store/l1q3xh4bfab896jkyqybyw1j9ncfcylf-unit-polkit.service.drv
│       │   │   └───/nix/store/7ysykq23bvacl42z0a65p1jp9bvm6q50-X-Restart-Triggers-polkit.drv
│       │   │       └───/nix/store/3slqg6xw3gas6yn13zd6fzfxn7nv639y-system-path.drv
│       │   └───/nix/store/ns4k27c393s0r4yfnrh1fzzlfcv0cp4d-unit-dbus.service.drv
│       │       └───/nix/store/mbpnj7ys0r06zar36d2l1v0ayz4z33k5-X-Restart-Triggers-dbus.drv
│       │           └───/nix/store/55457b3zdbsxshd10fdckxdfpwi3vdad-dbus-1.drv
│       ├───/nix/store/i7c5ywrrgm3idf24n0rdhwfp4gq3z6w9-etc-pam-environment.drv
│       │   └───/nix/store/3slqg6xw3gas6yn13zd6fzfxn7nv639y-system-path.drv
│       ├───/nix/store/2599vyxrlclj0jr3553ys4805dsnv65i-etc-man_db.conf.drv
│       │   └───/nix/store/06xkayldw8jmjpip16wxhcqvjwhqyahk-man-cache.drv
│       │       └───/nix/store/4r6jjv2fngngr7wk61yfqzf9p4vqjlzf-man-paths.drv
│       │           └───/nix/store/g0jwslkbnp0c3nlbkm4m15ygavxfmwgc-orca-48.6-aarch64-unknown-linux-gnu.drv
│       ├───/nix/store/4m75ambybvqbk7icrvncn53cy2m9yjvd-etc-fish-nixos-env-preinit.fish.drv
│       │   └───/nix/store/816xdd13bzlhyg25p8jn94zgn1xq0h17-set-environment.drv
│       ├───/nix/store/j9pmpmq4q9qvji9raq1p2zs62fi68nh1-etc-profile.drv
│       │   └───/nix/store/816xdd13bzlhyg25p8jn94zgn1xq0h17-set-environment.drv
│       └───/nix/store/8v4yb9s1a6gmmi66ydzdpd52x87iznfw-user-units.drv
│           └───/nix/store/5ygvpcxd3msvw46m9nsws8ds88vlp8r2-unit-dbus.service.drv
│               └───/nix/store/mbpnj7ys0r06zar36d2l1v0ayz4z33k5-X-Restart-Triggers-dbus.drv
├───/nix/store/6lxbny6hrica8w0avg3lkdfq6dcyk1b7-nixos.efi.drv
│   └───/nix/store/fh9ygnlj6milzs16nfcl6g2v5dc046g4-ukify.conf.drv
│       ├───/nix/store/hpidwwsxfc9hs08gi3mpyp92lhs33550-nixos-system-quadphone-25.11.20250812.005433b.drv
│       └───/nix/store/y60cd9kj5a4kikviwa9dfy2rpb52xifg-etc.drv
└───/nix/store/76579av3qfxncdmwf16xqx4kx7nkl25l-closure-info.drv
    └───/nix/store/hpidwwsxfc9hs08gi3mpyp92lhs33550-nixos-system-quadphone-25.11.20250812.005433b.drv
17:50:18
@quadradical:federated.nexusQuadRadical (Ping) hmm okay 17:50:24

Show newer messages


Back to Room ListRoom Version: 6