Sender | Message | Time |
---|---|---|
3 Dec 2024 | ||
K900 | Breaks evaluation how? | 15:30:17 |
kuruczgy | I am trying to debug nixpkgsFun , so I did nixpkgsFun = newArgs: builtins.break (import ./. (args // newArgs)); . I get error: 'legacyPackages.x86_64-linux' is not an attribute set when trying nix eval .#legacyPackages.x86_64-linux.hostPlatform.system . | 15:32:34 |
Evelyn | Lesbian nix be like | 15:32:51 |
K900 | In reply to@kuruczgy:matrix.orgIt's probably some sort of flake weirdness | 15:35:38 |
kuruczgy | Indeed you appear to be right, nix eval --file . hostPlatform.system works without issues | 15:39:38 |
vorboyvo | In reply to @vorboyvo:matrix.vorboyvo.commmm okay now (only with lix enabled, not without it) it's failing with this | 16:05:30 |
vorboyvo | https://dpaste.com/F8NY2RQAZ | 16:05:31 |
vorboyvo | https://dpaste.com/HWLEWMHVP <- failing flake.nix https://dpaste.com/8RPQFW9LR <- working flake.nix | 16:06:13 |
ptitfred | hello vorboyvo , please try with the latest release (https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-2.tar.gz) | 16:13:52 |
vorboyvo | trying now | 16:14:52 |
vorboyvo | do i need to update the flake input regularly ? | 16:16:54 |
vorboyvo | it continues to build from source | 16:17:01 |
vorboyvo | however it builds! | 16:22:44 |
vorboyvo | thanks | 16:22:45 |
SebTM | Hey, when I try to use the lix nixos flake-module I get "nix_2_18 has been removed" just by adding it to the imports - with latest unstable - is there a workaround? | 19:32:17 |
SebTM | *
Ah nice appears to be solved with 2.91.1-2 | 19:34:31 |
SebTM | Follow up - is 2.91.1-2 supposed to build on arm?
| 23:17:52 |
puck | probably need a bit more logs; the lix nixos module and lix flake are distinctly versioned too; also, is this actual hardware ARM(32/64?) or binfmt? | 23:20:07 |
SebTM | In reply to @puck:puck.moeRaspberry pi 5 built via binfmt on x86_64 (build log: nix log - https://dpaste.com/9SD8GP92B | 23:26:28 |
SebTM | In reply to @puck:puck.moe* Raspberry pi 5 built via binfmt on x86_64 (build log: nix log - https://dpaste.com/9SD8GP92B) | 23:26:32 |
puck | yeah, that's to be expected, binfmt has some emulation issues | 23:27:10 |
SebTM | ah ok will try | 23:29:08 |
4 Dec 2024 | ||
Arian | is there any compatibility worries if I'd set unsafeDiscardReferences = true on a derivation? | 13:58:14 |
Arian | worst case old nix would just ignore that no? | 13:58:27 |
Joanna Żelek joined the room. | 14:29:22 | |
Joanna Żelek | I had troubles with nixos-switch rebuild after updating to 24.11 channel. Switching back to nix instead of lix seamed to fix it. If it's ok I have error messege from rebuild | 14:34:58 |
K900 | Please post the actual error | 14:35:16 |
Joanna Żelek | copying path '/nix/store/bz8xx1iwxp0146rjcp1q7fj1bf7h397r-xz-5.6.3-man' from 'https://cache.nixos.org'... copying path '/nix/store/j7fp52spki1k9vrkrj30gpr7gvdig9an-zd1211-firmware-1.5-zstd' from 'https://cache.nixos.org'... copying path '/nix/store/4hxkgb4iig8kn8i4rzsb7iyyxr2nhdn3-zstd-1.5.6-man' from 'https://cache.nixos.org'... copying path '/nix/store/4syjpgcxa09pr8qvz1rn4x409a3nsbwi-rustc-1.82.0-man' from 'https://cache.nixos.org'... copying path '/nix/store/wma24718nx26qb3k03dxbyp6i4k84ddv-rustc-1.82.0-doc' from 'https://cache.nixos.org'... copying path '/nix/store/axcsy1920zspg45n138721q0v8lcvw9d-shadow-4.16.0-su' from 'https://cache.nixos.org'... copying path '/nix/store/jiv05kzrvi6j2fi17n2f47lky339m2az-source' from 'https://cache.nixos.org'... copying path '/nix/store/wqf4z3dvxf45b6qg6xjpmb5dvm77d599-spdx-license-list-data-3.25.0-json' from 'https://cache.nixos.org'... copying path '/nix/store/a6p8gxrpn6xkx8c308m67n07prdxyrk6-systemd-boot' from 'https://cache.nixos.org'... copying path '/nix/store/jha71iddl3454j2p3fa0m3xb6rwibpry-xkeyboard-config-2.43' from 'https://cache.nixos.org'... copying path '/nix/store/szhsmpk2sa0qy9qgcbqa4pfvs4a2mgl3-xsimd-13.0.0' from 'https://cache.nixos.org'... copying path '/nix/store/fzyii0s25clws3xxyai9mrgwwaldnvym-yelp-xsl-42.1' from 'https://cache.nixos.org'... copying path '/nix/store/rlws40fpf9jjdjciqnv9cfghkg7d4vqz-zathura-0.5.8-man' from 'https://cache.nixos.org'... copying path '/nix/store/0vn2dznycc4jzj573p2a2xlvb4p9jb8b-zug-0.1.0' from 'https://cache.nixos.org'... copying path '/nix/store/y7hq5n52ywvmpygr0scx5w3l2c04dq51-zathura-0.5.8' from 'https://cache.nixos.org'... copying path '/nix/store/lmy6dw4arygvbq5r0zccchxh7r41a0qw-qttranslations-5.15.15' from 'https://cache.nixos.org'... building '/nix/store/l0qxslradziy68x5v2gp4666c3dnnpq9-glibc-locales-2.40-36.drv'... building '/nix/store/7v95qyz1qz9dz3v6d4rhkxsih86ja1hi-nixos-generate-config_fish-completions.drv'... building '/nix/store/c2z9mjq8h2xvgw0lh1frr8jb0qvnc2js-perl-5.40.0-env.drv'... building '/nix/store/8n4dqxzim3bvxk4q1pm3z6w24rjgszdy-playerctl-2.4.1_fish-completions.drv'... building '/nix/store/i8x37lw56g2v9rjrjr5fkcsbv8jdsa1f-procps-4.0.4_fish-completions.drv'... building '/nix/store/9pplmjcivdpxg7vszsmbak63id5gfyiq-python3-3.12.7_fish-completions.drv'... Running phase: unpackPhase unpacking source archive /nix/store/l66b2j7crhj29wk7sx4nycbq55np9fvh-glibc-2.40.tar.xz created 481 symlinks in user environment copying path '/nix/store/ryjd5ac676snj7b071vviqgi6w77q6qc-python3.12-mako-1.3.5' from 'https://cache.nixos.org'... copying path '/nix/store/43xifg5xlazqdkl0nipjh1mahnhj7lsr-python3.11-requests-2.32.3' from 'https://cache.nixos.org'... copying path '/nix/store/6269bqa8p22m3yp0f9ls8rnan1zgnhmq-python3.12-jinja2-3.1.4' from 'https://cache.nixos.org'... copying path '/nix/store/5jaizihkq0crsdwzq7xnsb21ak9cxz35-python3.12-mutagen-1.47.0' from 'https://cache.nixos.org'... copying path '/nix/store/f6n37s0wrqbiykxklxnm7bs82kap1f5p-python3.12-numpy-1.26.4' from 'https://cache.nixos.org'... copying path '/nix/store/qnfndbdg0k5s7zb47l5q9h7cszi56gpf-python3.12-packaging-24.1' from 'https://cache.nixos.org'... copying path '/nix/store/8kkgv3gc370hqvva0l7bwqn8l777020p-python3.12-markdown-it-py-3.0.0' from 'https://cache.nixos.org'... copying path '/nix/store/cdg583c1xq8njwxjky1zj3qmix3hpl08-python3.12-pluggy-1.5.0' from 'https://cache.nixos.org'... copying path '/nix/store/gb9jkhq47nx31pfdr2ppkv7b9r85mg3r-python3.12-protobuf-5.28.3' from 'https://cache.nixos.org'... copying path '/nix/store/2drl01lf2drk4p8cifk80mslwjkaqfh8-python3.12-psutil-6.0.0' from 'https://cache.nixos.org'... copying path '/nix/store/gpa376dl0r8pwjjbfrj58xrwymq8nnli-python3.12-pillow-11.0.0' from 'https://cache.nixos.org'... copying path '/nix/store/g7yfq36aq5iy119d8av08b3wwkkapz0f-python3.12-puremagic-1.28' from 'https://cache.nixos.org'... copying path '/nix/store/14s27f2vdbg0jqq8ph0mlcn8m1lkw783-python3.12-pycairo-1.27.0' from 'https://cache.nixos.org'... copying path '/nix/store/0qqqbgyqbxs448y2mzpkyq251wsvkvz1-python3.12-markdown-it-py-3.0.0' from 'https://cache.nixos.org'... building '/nix/store/q42q3px12lpinmakskvj90chbr4wavhj-nixos-option.drv'... building '/nix/store/nl25im0yv00m06kbsm68cbq2is3n8qy6-protonup-qt-2.10.2-init.drv'... Running phase: unpackPhase unpacking source archive /nix/store/gk2qs90xfhv0h19h8dca9hn9j3wkix6f-nixos-option source root is nixos-option Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option --libdir=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option/lib --libexecdir=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option/libexec --bindir=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option/bin --sbindir=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option/sbin --includedir=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option/include --mandir=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option/share/man --infodir=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option/share/info --localedir=/nix/store/rryvwj5r8x0xvc74dsx4k1f48b51678i-nixos-option/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain building '/nix/store/z5b1zd3416a2d3r4nrb0kd27gb76m5wh-append-initrd-secrets.drv'... building '/nix/store/c8qs83f5z8z05bfr2230f78wi814i8za-firmware.drv'... building '/nix/store/28jjcbhq65n6m6qirvkiryplr26zj6gv-python3.11-pip-24.0_fish-completions.drv'... building '/nix/store/6klfvz170qkflyp741d4a8v8ipkl3i58-qemu-ovmf.drv'... source root is glibc-2.40 The Meson build system Version: 1.6.0 Source dir: /build/nixos-option Build dir: /build/nixos-option/build Build type: native build Project name: nixos-option Project version: 0.1.6 C++ compiler for the host machine: g++ (gcc 13.3.0 "g++ (GCC) 13.3.0") C++ linker for the host machine: g++ ld.bfd 2.43.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/nix/store/16h31npnbgpkhxp1041dsifiklbw4mpr-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 created 804 symlinks in user environment building '/nix/store/g8l0f5m4vipf0gxa0j97f5w9wzlfmrc6-sound-theme-freedesktop-0.8_fish-completions.drv'... setting SOURCE_DATE_EPOCH to timestamp 1721579617 of file glibc-2.40/wctype/wctype_l.c Running phase: patchPhase applying patch /nix/store/mlxa7gww562bhbp7gvwlqbzan291ay92-2.40-master.patch patching file advisories/GLIBC-SA-2023-0001 patching file advisories/GLIBC-SA-2023-0002 patching file advisories/GLIBC-SA-2023-0003 patching file advisories/GLIBC-SA-2023-0004 patching file advisories/GLIBC-SA-2023-0005 patching file advisories/GLIBC-SA-2024-0001 patching file advisories/GLIBC-SA-2024-0002 patching file advisories/GLIBC-SA-2024-0003 patching file advisories/GLIBC-SA-2024-0004 patching file advisories/GLIBC-SA-2024-0005 patching file advisories/GLIBC-SA-2024-0006 patching file advisories/GLIBC-SA-2024-0007 patching file advisories/GLIBC-SA-2024-0008 patching file advisories/README patching file NEWS patching file resolv/Makefile patching file resolv/res_send.c patching file resolv/tst-resolv-short-response.c patching file NEWS patching file resolv/Makefile patching file resolv/res_send.c patching file resolv/tst-resolv-semi-failure.c patching file resolv/tst-resolv-short-response.c patching file manual/dynlink.texi patching file NEWS patching file malloc/tst-aligned_alloc-lib.c patching file malloc/Makefile patching file malloc/tst-aligned-alloc-random-thread-cross.c patching file malloc/tst-aligned-alloc-random-thread.c patching file manual/stdio.texi patching file manual/resource.texi patching file string/Makefile patching file string/test-Xnlen-nonarray.c patching file string/test-strnlen-nonarray.c patching file wcsmbs/Makefile patching file wcsmbs/test-wcsnlen-nonarray.c patching file string/Makefile patching file string/test-Xncmp-nonarray.c patching file string/test-strncmp-nonarray.c patching file wcsmbs/Makefile patching file wcsmbs/test-wcsncmp-nonarray.c patching file NEWS patching file sysdeps/unix/sysv/linux/mremap.c patching file NEWS patching file manual/llio.texi patching file misc/Makefile patching file misc/tst-mremap1.c patching file misc/tst-mremap2.c patching file sysdeps/generic/mremap-failure.h patching file sysdeps/unix/sysv/linux/Makefile patching file sysdeps/unix/sysv/linux/mremap-failure.h patching file sysdeps/unix/sysv/linux/tst-linux-mremap1.c patching file resolv/tst-resolv-short-response.c patching file sysdeps/x86/cpu-tunables.c patching file NEWS patching file libio/bits/stdio2.h patching file socket/bits/socket2.h patching file stdlib/bits/stdlib.h patching file wcsmbs/bits/wchar2.h patching file manual/stdio.texi patching file support/test-driver.c patching file sysdeps/x86_64/dl-machine.h patching file sysdeps/x86_64/x32/dl-machine.h patching file sysdeps/unix/sysv/linux/x86_64/dl-cet.h patching file sysdeps/unix/sysv/linux/x86_64/x32/arch-syscall.h patching file sysdeps/unix/sysv/linux/x86_64/x32/fixup-asm-unistd.h patching file string/test-strchr.c patching file sysdeps/x86_64/multiarch/strchr-evex-base.S patching file include/libc-internal.h patching file NEWS patching file string/strerror_l.c patching file string/strsignal.c patching file debug/tst-fortify-syslog.c patching file localedata/tst-ctype.c patching file math/test-tgmath2.c patching file support/check.h patching file stdio-common/Makefile patching file stdio-common/tst-scanf-bz27650.c patching file stdio-common/tst-ungetc.c patching file libio/genops.c patching file manual/stdio.texi patching file stdio-common/tst-ungetc.c patching file libio/genops.c patching file libio/libioP.h patching file stdio-common/Makefile patching file stdio-common/tst-ungetc-leak.c patching file posix/tst-truncate-common.c patching file sysdeps/pthread/tst-setuid3.c patching file elf/dl-tls.c patching file elf/rtld.c patching file nptl/allocatestack.c patching file sysdeps/generic/ldsodefs.h patching file NEWS patching file elf/Makefile patching file elf/dl-open.c patching file elf/dl-tls.c patching file elf/tst-dlopen-tlsreinit1.c patching file elf/tst-dlopen-tlsreinit2.c patching file elf/tst-dlopen-tlsreinit3.c patching file elf/tst-dlopen-tlsreinit4.c Run-time dependency nix-main found: YES 2.18.9 Run-time dependency nix-store found: YES 2.18.9 created 1 symlinks in user environment building '/nix/store/y604ss3m3h68r2h9kk5ixjzqq6wpi7gd-systemd-256.8_fish-completions.drv'... patching file elf/tst-dlopen-tlsreinitmod1.c patching file elf/tst-dlopen-tlsreinitmod2.c patching file elf/tst-dlopen-tlsreinitmod3.c patching file include/link.h patching file sysdeps/generic/ldsodefs.h patching file elf/Makefile patching file debug/pcprofiledump.c patching file NEWS patching file libio/genops.c applying patch /nix/store/8haph3ng4mgsqr6p4024vj8k6kg3mqc4-nix-locale-archive.patch patching file locale/loadarchive.c patching file locale/programs/locale.c Hunk #1 succeeded at 632 (offset -1 lines). Hunk #2 succeeded at 662 (offset -1 lines). patching file locale/programs/locarchive.c Hunk #1 succeeded at 116 (offset -1 lines). Hunk #2 succeeded at 593 (offset -1 lines). applying patch /nix/store/b1w7zbvm39ff1i52iyjggyvw2rdxz104-dont-use-system-ld-so-cache.patch patching file elf/Makefile Hunk #1 succeeded at 1470 with fuzz 2 (offset 801 lines). patching file elf/dl-diagnostics.c patching file elf/ldconfig.c Hunk #1 succeeded at 48 with fuzz 1 (offset -9 lines). patching file sysdeps/generic/dl-cache.h applying patch /nix/store/mnglr8rr7nl444h7p50ysyq8qd0fm1lm-dont-use-system-ld-so-preload.patch patching file elf/rtld.c Hunk #1 succeeded at 1862 (offset 349 lines). applying patch /nix/store/za0pg7fmysrcwrqcal26fnmzw6vycgdn-fix_path_attribute_in_getconf.patch patching file sysdeps/unix/confstr.h applying patch /nix/store/7kw224hdyxd7115lrqh9a4dv2x8msq2s-fix-x64-abi.patch patching file elf/dl-tls.c Hunk #1 succeeded at 995 (offset 168 lines). applying patch /nix/store/001gp43bjqzx60cg345n2slzg7131za8-nix-nss-open-files.patch patching file nss/nss_files/files-XXX.c Hunk #1 succeeded at 73 (offset -2 lines). patching file nss/nss_files/files-proto.c Hunk #1 succeeded at 21 (offset -2 lines). patching file nss/nss_files/files-service.c Hunk #1 succeeded at 22 (offset -2 lines). applying patch /nix/store/pcpx2ayccijipfl32zchx0mg7rzvj6zx-0001-Revert-Remove-all-usage-of-BASH-or-BASH-in-installed.patch patching file debug/Makefile patching file debug/xtrace.sh patching file elf/Makefile Hunk #1 succeeded at 250 (offset 1 line). Hunk #2 succeeded at 1448 (offset 55 lines). patching file elf/ldd.bash.in patching file elf/sotruss.sh patching file malloc/Makefile Hunk #1 succeeded at 359 (offset 47 lines). patching file malloc/memusage.sh patching file timezone/Makefile Hunk #1 succeeded at 139 (offset 7 lines). applying patch /nix/store/sj0qllprnrmk1cqnnk57vvn2cqgjynbx-reenable_DT_HASH.patch patching file Makeconfig Hunk #1 succeeded at 380 (offset 2 lines). patching file inet/idna.c Hunk #1 succeeded at 28 (offset 3 lines). Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./scripts/config.sub Updating Autotools / GNU config script to a newer upstream version: ./scripts/config.guess Running phase: configurePhase patching script interpreter paths in /build/build/../glibc-2.40/configure /build/build/../glibc-2.40/configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/p6k7xp1lsfmbdd731mlglrdj2d66mr82-bash-5.2p37/bin/sh" configure flags: --disable-static --prefix=/nix/store/ana63if8b2i6w787m6j40jmww44xj01z-glibc-locales-2.40-36 -C --enable-add-ons --sysconfdir=/etc --enable-stack-protector=strong --enable-bind-now --without-headers --disable-profile --enable-fortify-source --enable-static-pie building '/nix/store/92hray7dav3nqra2hpasrrjswhmj3pbw-etc-modprobe.d-firmware.conf.drv'... building '/nix/store/ywdals6lyz54d5wq2qxf90ifhwcs4n94-linux-6.6.63-modules-shrunk.drv'... configure: creating cache config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes Run-time dependency nix-expr found: YES 2.18.9 Run-time dependency nix-cmd found: YES 2.18.9 Did not find CMake 'cmake' Found CMake: NO Run-time dependency nix-flake found: NO (tried pkgconfig) meson.build:10:16: ERROR: Dependency "nix-flake" not found, tried pkgconfig A full log can be found at /build/nixos-option/build/meson-logs/meson-log.txt building '/nix/store/bwcirs9gnq5v92bisnk9jr831vsp32cl-systemd-boot.drv'... building '/nix/store/pccj0mnkkyllx3yjh3p2f15mkwrgjb6m-teensy-udev-rules-2022-05-15_fish-completions.drv'... checking for gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes kernel version is 6.6.63 root module: ahci copying dependency: /nix/store/l1513mzpwza76a0j9zddl4pdyfbd54gq-linux-6.6.63-modules/lib/modules/6.6.63/kernel/drivers/scsi/scsi_common.ko.xz copying dependency: /nix/store/l1513mzpwza76a0j9zddl4pdyfbd54gq-linux-6.6.63-modules/lib/modules/6.6.63/kernel/drivers/scsi/scsi_mod.ko.xz copying dependency: /nix/store/l1513mzpwza76a0j9zddl4pdyfbd54gq-linux-6.6.63-modules/lib/modules/6.6.63/kernel/drivers/ata/libata.ko.xz copying dependency: /nix/store/l1513mzpwza76a0j9zddl4pdyfbd54gq-linux-6.6.63-modules/lib/modules/6.6.63/kernel/drivers/ata/libahci.ko.xz copying dependency: /nix/store/l1513mzpwza76a0j9zddl4pdyfbd54gq-linux-6.6.63-modules/lib/modules/6.6.63/kernel/drivers/ata/ahci.ko.xz error: builder for '/nix/store/q42q3px12lpinmakskvj90chbr4wavhj-nixos-option.drv' failed with exit code 1 error: 1 dependencies of derivation '/nix/store/5y9kr0b57w4yikdd6jrjvdx2fz27i8hq-home-manager-0-unstable-2024-10-20.drv' failed to build error: 1 dependencies of derivation '/nix/store/15ycnnmfihbhr3pq65jaf22jk161vmj9-man-paths.drv' failed to build error: 1 dependencies of derivation '/nix/store/frv8jpa4bj7mj4hmwara4l9p2zg1kpxj-nixos-option_fish-completions.drv' failed to build error: 1 dependencies of derivation '/nix/store/3q099jy7z8azm61nzb27gj2nva17vdl9-system-path.drv' failed to build error: 1 dependencies of derivation '/nix/store/vsjdrcwq03zsk9z2ych4dnvdiilw4hqf-nixos-system-nixos-24.11.710315.b681065d0919.drv' failed to build | 14:48:29 |
K900 | You need to update your lix overlay | 14:48:58 |
K900 | Or disable nixos-option | 14:49:05 |