| 18 Aug 2025 |
dramforever | it makes you get the right thing for python3Packages.callPackage | 15:31:12 |
dramforever | which gives you non-spliced python packages | 15:31:20 |
dramforever | maybe this part is not intentional design | 15:31:31 |
dramforever | i mean maybe python3Packages.callPackage is doing the wrong thing | 15:31:55 |
Artturin | It's a bug that the python hooks are one offset off | 15:32:22 |
dramforever | that's what i mean, i'm not sure it's a bug | 15:32:53 |
Artturin | It's a workaround which works around a another limitation | 15:34:24 |
dramforever | that i agree | 15:34:32 |
Artturin | Follow the issue link in https://github.com/NixOS/nixpkgs/issues/434307 | 15:34:34 |
Artturin | * pr link | 15:34:44 |
Artturin | * * pr link in the body | 15:34:48 |
Artturin | It's quite complicated and I'm not sure why the hooks are spliced wrong out of the scope | 15:36:23 |
dramforever | do you think pkgsCross.*.python3Packages.callPackage should provide a spliced wrapPython? | 15:37:25 |
dramforever | for the record i have no idea | 15:38:14 |
Artturin | https://github.com/NixOS/nixpkgs/pull/228139 would make it provide a spliced wrapPython, however yaml-merge doesn't use python3Packages.callPackage | 15:38:17 |
dramforever | 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 | https://github.com/NixOS/nixpkgs/blob/62ef08e9a4d536471ab381a7ae39d38dc79b23a3/lib/customisation.nix#L717 the keep makes the attrs not spliced inside the scope | 15:40:31 |
Artturin | Actually hmm | 15:42:17 |
Artturin | * Maybe the self there is the reason why the python has wrong offsets | 15:43:43 |
dramforever | also the workaround in yaml-merge should probably just be pkgsHostTarget.python3Packages.wrapPython | 15:44:13 |
dramforever | i'll put that on the pr | 15:44:58 |
dramforever | wrapPython is "a bit like" stdenv | 15:47:43 |
Artturin | As a workaround to https://github.com/NixOS/nixpkgs/issues/211340 | 16:09:47 |
Artturin | * Only as a workaround to https://github.com/NixOS/nixpkgs/issues/211340 | 16:09:55 |
dramforever | i was thining about this | 16:23:58 |
dramforever | * i was thinking about this | 16:24:02 |
dramforever | okay that, seems orthogonal right? | 16:25:33 |
dramforever | unless by linking to #211340 you mean general splicing woes | 16:26:08 |
QuadRadical (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 (Ping) | why is orca even getting built hmm | 17:39:51 |