Skip to content

disko-install has undeclared dependencies #1064

Open
@Jayman2000

Description

@Jayman2000

Steps to reproduce

  1. Start a Disko interactive VM by running this command:

    QEMU_KERNEL_PARAMS="console=ttyS0" QEMU_OPTS="-nographic" nix --extra-experimental-features 'nix-command flakes' run git+https://codeberg.org/JasonYundt/disko-bug-1064-reproduction-project.git?rev=91870fc2ba1c7a869105da683f7cf3b5ea3bf7f1
  2. After the virtual machine has finished booting, try to install NixOS using disko-install by running this command:

    run-disko-install
  3. After you’re done with the virtual machine, shut it down by running this command:

    systemctl poweroff

Results

Actual results

There are two command-not-found errors (one for xargs and one for mountpoint).

Full log:

[root@nixos:~]# run-disko-install
warning: unknown setting 'no-write-lock-file'
unpacking 'github:nix-community/disko/dfa4d1b9c39c0342ef133795127a3af14598017a?narHash=sha256-CqmqU5FRg5AadtIkxwu8ulDSOSoIisUMZRLlcED3Q5w%3D' into the Git cache...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
these 40 derivations will be built:
  /nix/store/01gql9fb663ndnng7cyhkw4nnfp40v0c-extra-udev-rules.drv
  /nix/store/23l71c7b2bq0n9lyv2m4xzxwfnflvlca-etc-fstab.drv
  /nix/store/jk1v6q6kma9f0mlj4s3bb2jkbci2k511-nixos-help.drv
  /nix/store/5h8956pv15vd4k0a16b70v0asqv7mp02-nixos-help.drv
  /nix/store/m0k29s59q5k2wawa3s4aj0d37hcb4d91-builder.pl.drv
  /nix/store/24jyv8dn83gyb9zklh7ycnhgg02hp7kc-system-path.drv
  /nix/store/2h8jl1nvhdcx4n9h984cqbzyha0p8rv4-unit-console-getty.service-disabled.drv
  /nix/store/3p0hx793c08ch8i52jqgf32slx3w1pxn-unit-script-systemd-timesyncd-pre-start.drv
  /nix/store/4rvsbnqk7vj60lpv820yyqrrpbqbz9f6-initrd-fsinfo.drv
  /nix/store/lnhpbvp46rcpr7ji62sv1dsig01v4ks9-dbus-1.drv
  /nix/store/k4yk4jp0hjxfz2dlxfqwimjy4d6b31h6-X-Restart-Triggers-dbus.drv
  /nix/store/6v4n616x7bw7kvlihf6flprk0hmch2cq-unit-dbus.service.drv
  /nix/store/abybbs0cp0qj2p1a83l9i2nc2k4c1abp-ipv6-privacy-extensions.rules.drv
  /nix/store/b7r39rkj7qvxga61hv5apjig63r4462n-ipv6-privacy-extensions.rules.drv
  /nix/store/qiwmwgg74myq49kl3k6j5birvkkhdry6-extra-hwdb-file.drv
  /nix/store/fxix9j7ghcszd1k892pql4nflwxid978-udev-rules.drv
  /nix/store/9qam5gh5n5swagjinkic7arzcy8swa7a-X-Restart-Triggers-systemd-udevd.drv
  /nix/store/rx8j5pf711fnv0aamdqdhmn4im6n6j8z-etc-systemd-timesyncd.conf.drv
  /nix/store/b3vzlp3pam6bkhr8slsi2pixa3yy4fzr-X-Restart-Triggers-systemd-timesyncd.drv
  /nix/store/azjmhlm1ndm0ircz52kb310p8aiqr8yh-unit-systemd-timesyncd.service.drv
  /nix/store/y2yqc44jm0lixghhlp3d7jh9jb82m2x0-stage-1-init.sh.drv
  /nix/store/bklrh6b8qxmidj23sqgq4nm3zpixcrbs-closure-info.drv
  /nix/store/bn8svjlw1jyb6pjk30wgrh3fmp2n6x7y-unit-systemd-udevd.service.drv
  /nix/store/h5jlbd2l0a3nbd6b7hwvrpm2z0sn286i-perl-5.40.0-env.drv
  /nix/store/hd3c3wddjqw86s7gx48kazh30niq5lcf-local-cmds.drv
  /nix/store/kjfwrm5rzbn0agkqfmcgqq24kdq74y1r-stage-2-init.sh.drv
  /nix/store/ms7v6r69f24hkq1n61z6ynwzq86hqrd1-initrd-linux-6.12.32.drv
  /nix/store/dxakwfk1gjq7qy10n1xn80ipfzqn1ggw-user-units.drv
  /nix/store/g9b8ygbh601g9p7mhy4bch7qss6zlrs5-unit-dbus.service.drv
  /nix/store/ql00bcwzsh1mcdna3dq96wiwk6zmw6ni-dhcpcd.conf.drv
  /nix/store/n48j029yh37jrlw1jimvybcy80w816d0-unit-dhcpcd.service.drv
  /nix/store/rxcfl9malnbw2d4jnr46jqk62rjw84rg-system-units.drv
  /nix/store/xs99nwbysimz6bx133yipyqpvlrf244y-hwdb.bin.drv
  /nix/store/nma2zn8z08d42m7q6gqsan7jp579hxlf-etc.drv
  /nix/store/psk0x3lxyk0lhxh791i9am7q9c4rrrxz-boot.json.drv
  /nix/store/ylib9fljxa2w6f9srmwp9crwa42rbq4d-users-groups.json.drv
  /nix/store/dxaiglxp0yap5npr1k5nksxa9xdxxbs3-nixos-system-nixos-25.11.20250608.08fcb0d.drv
  /nix/store/m1v9bb82wz73makacmpbh80xw5125g4d-closure-info.drv
  /nix/store/z0c7dgph98rb9igm79s2yarxrzygnfqd-disko.drv
  /nix/store/slkalrr1kq10b6c9r7lab698a7q839fz-disko.drv
these 47 paths will be fetched (76.15 MiB download, 370.05 MiB unpacked):
  /nix/store/v63bxfiacw082c7ijshf60alvvrpfxsq-binutils-2.44
  /nix/store/974a51073v6cb7cr5j0dazanxzmk9bxg-binutils-2.44-lib
  /nix/store/hhfm5fkvb1alg1np5a69m2qlcjqhr062-binutils-wrapper-2.44
  /nix/store/ciywhlsk540dqfxw3d0w5mn7igdws3fs-busybox-1.36.1
  /nix/store/7v3h0hsyq17zl8wd7zpkzhif215ywagw-cyrus-sasl-2.1.28
  /nix/store/1mklibnd2njax4v6y5dalpsfm6vghsf3-desktop-file-utils-0.28
  /nix/store/ygy471kcwmr7fx89pzclj9m1xlzrqqpa-die-hook
  /nix/store/zlwivmja0p8w7ca35d2i11gp04z82rc3-ensure-all-wrappers-paths-exist
  /nix/store/p9k7bd23v5yvmap9594f9x7hpvacdh32-expand-response-params
  /nix/store/imhzyxqr7swq08ip81az5kfa07r07kg0-file-5.46
  /nix/store/md2xby1crkqali9yg9gjaqjqkjvis4vb-find-xml-catalogs-hook
  /nix/store/9ds850ifd4jwcccpp3v14818kk74ldf2-gcc-14.2.1.20250322
  /nix/store/0fsnicvfpf55nkza12cjnad0w84d6ba7-gcc-wrapper-14.2.1.20250322
  /nix/store/dklaxf3cr16ym2fnm4ma3k4pz3yq9ysz-getconf-glibc-2.40-66
  /nix/store/r25srliigrrv5q3n7y8ms6z10spvjcd9-glibc-2.40-66-dev
  /nix/store/dwwc14ppzkl0yphcgsz25xvi24c9d1zm-gmp-6.3.0
  /nix/store/rzdjxxf4jkv3qdsjxkg54fxbma5zr05k-gnu-config-2024-01-01
  /nix/store/kv10h4pidkmx8cjs2sw2pi9rlcnighbc-gnumake-4.4.1
  /nix/store/l4lqrsdj46mrhddx9bpgpmvcdayq4mjd-gptfdisk-1.0.10
  /nix/store/b31cv4g2s290p34lpdn58nb8k5sx2waw-hostname-net-tools-2.10
  /nix/store/aq5b44b37zp5dfwz5330pxqm699gs4g3-isl-0.20
  /nix/store/yika3khvh871bvk5sgpcxfdbqznyi3w0-jq-1.7.1-dev
  /nix/store/mb407pssv7zc7pfb4d910k6fshfagm6j-libmpc-1.3.1
  /nix/store/27dnkfln705h9rfxzzknvv1pfnnhp2qr-libtirpc-1.3.6
  /nix/store/np37flx1k0dj0j0xgxzkxs069sb5h4k3-libtool-2.5.4-lib
  /nix/store/74is8yi7sy8q58xg806fy0ja99fswjva-libxslt-1.1.43
  /nix/store/x5f8pgnizdvjjj63ag58166k99b96l6x-libxslt-1.1.43-bin
  /nix/store/7m7q420x5vqb1qaicxwj6dw0yqkhgxhi-linux-6.12.32-modules-shrunk
  /nix/store/hxrjrzngydk24ah8b5n8cl777n39y08b-linux-headers-6.12.7
  /nix/store/cvm20cv2y6p8rik02wvyzx2w76j5wilc-lndir-1.0.5
  /nix/store/pyvd4fcwfnwhdfs8w1f15ay4srnm3gh8-make-binary-wrapper-hook
  /nix/store/fj6dvmqy4l4i4jx8hy4bav8ph9jxqjiv-make-shell-wrapper-hook
  /nix/store/pfax9nyj1v9qhw6xankcprwgr1i9gfw6-mdadm-4.3
  /nix/store/n52k1dccv0mipz1s4gkk45x64cmmcvrf-mpfr-4.2.2
  /nix/store/izpn4rcsvyl3mn0pm4vcn5n5xilhax7j-nfs-utils-2.7.1
  /nix/store/ch4232xnkk8b1gbhq3zvm7b2wnb9fam3-nfs-utils-2.7.1-lib
  /nix/store/q4rvil3gw9cn0dg3nzz0s0w2vc2cnfr5-nixos-manual-html
  /nix/store/pxflxwl6fa54jjc619fqdja5z4fn5p35-openldap-2.6.9
  /nix/store/8kakl003d9n8k9qrvanxasxa1x5wnwj5-parted-3.6
  /nix/store/2jc1jmzis19adawjwhl8qhdvh7vlbk0q-patchelf-0.15.0
  /nix/store/nqxlf31ifaq3gngs9fhpvl3m1hkbgxzl-smartmontools-7.5
  /nix/store/aq801xbgs98nxx3lckrym06qfvl8mfsf-stdenv-linux
  /nix/store/w15zvai2dgvm9lic0m0iw1cwjq9aaqf9-sysstat-12.7.4
  /nix/store/mi0yqfw3ppyk0a4y6azvijaa4bmhg70y-system-sendmail-1.0
  /nix/store/8fllvjsbppblf26qgis7nwxmw1qrspsf-texinfo-7.2
  /nix/store/lmc7x75jvrca79fc2r2j1frmklzvh04h-update-autotools-gnu-config-scripts-hook
  /nix/store/wwnqymbkm8wv5yc6palbiignx7igfcas-zfs-user-2.3.2
copying path '/nix/store/zlwivmja0p8w7ca35d2i11gp04z82rc3-ensure-all-wrappers-paths-exist' from 'https://cache.nixos.org'...
copying path '/nix/store/ygy471kcwmr7fx89pzclj9m1xlzrqqpa-die-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/q4rvil3gw9cn0dg3nzz0s0w2vc2cnfr5-nixos-manual-html' from 'https://cache.nixos.org'...
copying path '/nix/store/md2xby1crkqali9yg9gjaqjqkjvis4vb-find-xml-catalogs-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/rzdjxxf4jkv3qdsjxkg54fxbma5zr05k-gnu-config-2024-01-01' from 'https://cache.nixos.org'...
copying path '/nix/store/1mklibnd2njax4v6y5dalpsfm6vghsf3-desktop-file-utils-0.28' from 'https://cache.nixos.org'...
copying path '/nix/store/p9k7bd23v5yvmap9594f9x7hpvacdh32-expand-response-params' from 'https://cache.nixos.org'...
copying path '/nix/store/l4lqrsdj46mrhddx9bpgpmvcdayq4mjd-gptfdisk-1.0.10' from 'https://cache.nixos.org'...
copying path '/nix/store/imhzyxqr7swq08ip81az5kfa07r07kg0-file-5.46' from 'https://cache.nixos.org'...
copying path '/nix/store/dklaxf3cr16ym2fnm4ma3k4pz3yq9ysz-getconf-glibc-2.40-66' from 'https://cache.nixos.org'...
copying path '/nix/store/kv10h4pidkmx8cjs2sw2pi9rlcnighbc-gnumake-4.4.1' from 'https://cache.nixos.org'...
copying path '/nix/store/7m7q420x5vqb1qaicxwj6dw0yqkhgxhi-linux-6.12.32-modules-shrunk' from 'https://cache.nixos.org'...
copying path '/nix/store/hxrjrzngydk24ah8b5n8cl777n39y08b-linux-headers-6.12.7' from 'https://cache.nixos.org'...
copying path '/nix/store/8kakl003d9n8k9qrvanxasxa1x5wnwj5-parted-3.6' from 'https://cache.nixos.org'...
copying path '/nix/store/2jc1jmzis19adawjwhl8qhdvh7vlbk0q-patchelf-0.15.0' from 'https://cache.nixos.org'...
copying path '/nix/store/8fllvjsbppblf26qgis7nwxmw1qrspsf-texinfo-7.2' from 'https://cache.nixos.org'...
copying path '/nix/store/974a51073v6cb7cr5j0dazanxzmk9bxg-binutils-2.44-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/7v3h0hsyq17zl8wd7zpkzhif215ywagw-cyrus-sasl-2.1.28' from 'https://cache.nixos.org'...
copying path '/nix/store/ciywhlsk540dqfxw3d0w5mn7igdws3fs-busybox-1.36.1' from 'https://cache.nixos.org'...
copying path '/nix/store/dwwc14ppzkl0yphcgsz25xvi24c9d1zm-gmp-6.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/b31cv4g2s290p34lpdn58nb8k5sx2waw-hostname-net-tools-2.10' from 'https://cache.nixos.org'...
copying path '/nix/store/yika3khvh871bvk5sgpcxfdbqznyi3w0-jq-1.7.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/27dnkfln705h9rfxzzknvv1pfnnhp2qr-libtirpc-1.3.6' from 'https://cache.nixos.org'...
copying path '/nix/store/np37flx1k0dj0j0xgxzkxs069sb5h4k3-libtool-2.5.4-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/74is8yi7sy8q58xg806fy0ja99fswjva-libxslt-1.1.43' from 'https://cache.nixos.org'...
copying path '/nix/store/cvm20cv2y6p8rik02wvyzx2w76j5wilc-lndir-1.0.5' from 'https://cache.nixos.org'...
copying path '/nix/store/fj6dvmqy4l4i4jx8hy4bav8ph9jxqjiv-make-shell-wrapper-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/nqxlf31ifaq3gngs9fhpvl3m1hkbgxzl-smartmontools-7.5' from 'https://cache.nixos.org'...
copying path '/nix/store/w15zvai2dgvm9lic0m0iw1cwjq9aaqf9-sysstat-12.7.4' from 'https://cache.nixos.org'...
copying path '/nix/store/mi0yqfw3ppyk0a4y6azvijaa4bmhg70y-system-sendmail-1.0' from 'https://cache.nixos.org'...
copying path '/nix/store/pxflxwl6fa54jjc619fqdja5z4fn5p35-openldap-2.6.9' from 'https://cache.nixos.org'...
copying path '/nix/store/aq5b44b37zp5dfwz5330pxqm699gs4g3-isl-0.20' from 'https://cache.nixos.org'...
copying path '/nix/store/pfax9nyj1v9qhw6xankcprwgr1i9gfw6-mdadm-4.3' from 'https://cache.nixos.org'...
copying path '/nix/store/n52k1dccv0mipz1s4gkk45x64cmmcvrf-mpfr-4.2.2' from 'https://cache.nixos.org'...
copying path '/nix/store/x5f8pgnizdvjjj63ag58166k99b96l6x-libxslt-1.1.43-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/lmc7x75jvrca79fc2r2j1frmklzvh04h-update-autotools-gnu-config-scripts-hook' from 'https://cache.nixos.org'...
copying path '/nix/store/mb407pssv7zc7pfb4d910k6fshfagm6j-libmpc-1.3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/v63bxfiacw082c7ijshf60alvvrpfxsq-binutils-2.44' from 'https://cache.nixos.org'...
copying path '/nix/store/aq801xbgs98nxx3lckrym06qfvl8mfsf-stdenv-linux' from 'https://cache.nixos.org'...
building '/nix/store/m0k29s59q5k2wawa3s4aj0d37hcb4d91-builder.pl.drv'...
copying path '/nix/store/ch4232xnkk8b1gbhq3zvm7b2wnb9fam3-nfs-utils-2.7.1-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/izpn4rcsvyl3mn0pm4vcn5n5xilhax7j-nfs-utils-2.7.1' from 'https://cache.nixos.org'...
copying path '/nix/store/wwnqymbkm8wv5yc6palbiignx7igfcas-zfs-user-2.3.2' from 'https://cache.nixos.org'...
copying path '/nix/store/r25srliigrrv5q3n7y8ms6z10spvjcd9-glibc-2.40-66-dev' from 'https://cache.nixos.org'...
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
Running phase: checkPhase
Running phase: installPhase
no Makefile or custom installPhase, doing nothing
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/5wsiqznl93r01rs4v6ya2dzgw090gxqq-builder.pl
checking for references to /build/ in /nix/store/5wsiqznl93r01rs4v6ya2dzgw090gxqq-builder.pl...
patching script interpreter paths in /nix/store/5wsiqznl93r01rs4v6ya2dzgw090gxqq-builder.pl
building '/nix/store/ql00bcwzsh1mcdna3dq96wiwk6zmw6ni-dhcpcd.conf.drv'...
copying path '/nix/store/hhfm5fkvb1alg1np5a69m2qlcjqhr062-binutils-wrapper-2.44' from 'https://cache.nixos.org'...
copying path '/nix/store/9ds850ifd4jwcccpp3v14818kk74ldf2-gcc-14.2.1.20250322' from 'https://cache.nixos.org'...
building '/nix/store/23l71c7b2bq0n9lyv2m4xzxwfnflvlca-etc-fstab.drv'...
building '/nix/store/rx8j5pf711fnv0aamdqdhmn4im6n6j8z-etc-systemd-timesyncd.conf.drv'...
building '/nix/store/qiwmwgg74myq49kl3k6j5birvkkhdry6-extra-hwdb-file.drv'...
building '/nix/store/b3vzlp3pam6bkhr8slsi2pixa3yy4fzr-X-Restart-Triggers-systemd-timesyncd.drv'...
building '/nix/store/01gql9fb663ndnng7cyhkw4nnfp40v0c-extra-udev-rules.drv'...
building '/nix/store/4rvsbnqk7vj60lpv820yyqrrpbqbz9f6-initrd-fsinfo.drv'...
building '/nix/store/abybbs0cp0qj2p1a83l9i2nc2k4c1abp-ipv6-privacy-extensions.rules.drv'...
building '/nix/store/b7r39rkj7qvxga61hv5apjig63r4462n-ipv6-privacy-extensions.rules.drv'...
building '/nix/store/hd3c3wddjqw86s7gx48kazh30niq5lcf-local-cmds.drv'...
building '/nix/store/xs99nwbysimz6bx133yipyqpvlrf244y-hwdb.bin.drv'...
Adding hwdb files for package /nix/store/if9z6wmzmb07j63c02mvfkhn1mw1w5p4-systemd-257.5
Adding hwdb files for package /nix/store/pw1mhi8mlrlp6xbcq4hrznq22mhr8ira-ipv6-privacy-extensions.rules
Adding hwdb files for package /nix/store/vipbn69wqsdsiddzk7wjfr4r5m94f854-ipv6-privacy-extensions.rules
Adding hwdb files for package /nix/store/sm4b1vl7578rl2yiss62acs7ls7qinad-lvm2-2.03.31
Adding hwdb files for package /nix/store/77z9fh96318kyjmmidi558hyyssv00s8-bcache-tools-1.0.8
Adding hwdb files for package /nix/store/c4krq1br8fw735zfkg3kfl3xrgiwgfv8-extra-udev-rules
Adding hwdb files for package /nix/store/vg08c6y162mrg3z15d741f197vm38yz2-extra-hwdb-file
Generating hwdb database...

building '/nix/store/jk1v6q6kma9f0mlj4s3bb2jkbci2k511-nixos-help.drv'...
building '/nix/store/y2yqc44jm0lixghhlp3d7jh9jb82m2x0-stage-1-init.sh.drv'...
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
Running phase: checkPhase
Running phase: installPhase
no Makefile or custom installPhase, doing nothing
checking syntax
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/jbh4y0fn41m2v9kkr2wmrf0v2193kwhv-stage-1-init.sh
checking for references to /build/ in /nix/store/jbh4y0fn41m2v9kkr2wmrf0v2193kwhv-stage-1-init.sh...
patching script interpreter paths in /nix/store/jbh4y0fn41m2v9kkr2wmrf0v2193kwhv-stage-1-init.sh
building '/nix/store/5h8956pv15vd4k0a16b70v0asqv7mp02-nixos-help.drv'...
building '/nix/store/bklrh6b8qxmidj23sqgq4nm3zpixcrbs-closure-info.drv'...
structuredAttrs is enabled
building '/nix/store/kjfwrm5rzbn0agkqfmcgqq24kdq74y1r-stage-2-init.sh.drv'...
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
copying path '/nix/store/0fsnicvfpf55nkza12cjnad0w84d6ba7-gcc-wrapper-14.2.1.20250322' from 'https://cache.nixos.org'...
Running phase: checkPhase
copying path '/nix/store/pyvd4fcwfnwhdfs8w1f15ay4srnm3gh8-make-binary-wrapper-hook' from 'https://cache.nixos.org'...
Running phase: installPhase
no Makefile or custom installPhase, doing nothing
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/32lv11kh516gpzq8yrk9sdzdn8i0858s-stage-2-init.sh
checking for references to /build/ in /nix/store/32lv11kh516gpzq8yrk9sdzdn8i0858s-stage-2-init.sh...
patching script interpreter paths in /nix/store/32lv11kh516gpzq8yrk9sdzdn8i0858s-stage-2-init.sh
building '/nix/store/z0c7dgph98rb9igm79s2yarxrzygnfqd-disko.drv'...
building '/nix/store/ms7v6r69f24hkq1n61z6ynwzq86hqrd1-initrd-linux-6.12.32.drv'...
building '/nix/store/slkalrr1kq10b6c9r7lab698a7q839fz-disko.drv'...
building '/nix/store/psk0x3lxyk0lhxh791i9am7q9c4rrrxz-boot.json.drv'...
building '/nix/store/h5jlbd2l0a3nbd6b7hwvrpm2z0sn286i-perl-5.40.0-env.drv'...
created 183 symlinks in user environment
building '/nix/store/24jyv8dn83gyb9zklh7ycnhgg02hp7kc-system-path.drv'...
created 6664 symlinks in user environment
building '/nix/store/fxix9j7ghcszd1k892pql4nflwxid978-udev-rules.drv'...
Adding rules for package /nix/store/pw1mhi8mlrlp6xbcq4hrznq22mhr8ira-ipv6-privacy-extensions.rules
Copying /nix/store/pw1mhi8mlrlp6xbcq4hrznq22mhr8ira-ipv6-privacy-extensions.rules/etc/udev/rules.d/98-ipv6-privacy-extensions.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/98-ipv6-privacy-extensions.rules
Adding rules for package /nix/store/vipbn69wqsdsiddzk7wjfr4r5m94f854-ipv6-privacy-extensions.rules
Copying /nix/store/vipbn69wqsdsiddzk7wjfr4r5m94f854-ipv6-privacy-extensions.rules/etc/udev/rules.d/99-ipv6-privacy-extensions.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/99-ipv6-privacy-extensions.rules
Adding rules for package /nix/store/sm4b1vl7578rl2yiss62acs7ls7qinad-lvm2-2.03.31
Copying /nix/store/sm4b1vl7578rl2yiss62acs7ls7qinad-lvm2-2.03.31/lib/udev/rules.d/10-dm.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/10-dm.rules
Copying /nix/store/sm4b1vl7578rl2yiss62acs7ls7qinad-lvm2-2.03.31/lib/udev/rules.d/11-dm-lvm.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/11-dm-lvm.rules
Copying /nix/store/sm4b1vl7578rl2yiss62acs7ls7qinad-lvm2-2.03.31/lib/udev/rules.d/13-dm-disk.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/13-dm-disk.rules
Copying /nix/store/sm4b1vl7578rl2yiss62acs7ls7qinad-lvm2-2.03.31/lib/udev/rules.d/69-dm-lvm.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/69-dm-lvm.rules
Copying /nix/store/sm4b1vl7578rl2yiss62acs7ls7qinad-lvm2-2.03.31/lib/udev/rules.d/95-dm-notify.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/95-dm-notify.rules
Adding rules for package /nix/store/77z9fh96318kyjmmidi558hyyssv00s8-bcache-tools-1.0.8
Copying /nix/store/77z9fh96318kyjmmidi558hyyssv00s8-bcache-tools-1.0.8/lib/udev/rules.d/69-bcache.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/69-bcache.rules
Adding rules for package /nix/store/c4krq1br8fw735zfkg3kfl3xrgiwgfv8-extra-udev-rules
Copying /nix/store/c4krq1br8fw735zfkg3kfl3xrgiwgfv8-extra-udev-rules/etc/udev/rules.d/99-local.rules to /nix/store/k2h3pj8506bk12nq59k71jzniw65zaxs-udev-rules/99-local.rules
Adding rules for package /nix/store/vg08c6y162mrg3z15d741f197vm38yz2-extra-hwdb-file
Checking that all programs called by relative paths in udev rules exist in /nix/store/if9z6wmzmb07j63c02mvfkhn1mw1w5p4-systemd-257.5/lib/udev... OK
Checking that all programs called by absolute paths in udev rules exist... OK
Verifying udev rules using udevadm verify...

10 udev rules files have been checked.
  Success: 10
  Fail:    0
OK
building '/nix/store/lnhpbvp46rcpr7ji62sv1dsig01v4ks9-dbus-1.drv'...
building '/nix/store/9qam5gh5n5swagjinkic7arzcy8swa7a-X-Restart-Triggers-systemd-udevd.drv'...
building '/nix/store/k4yk4jp0hjxfz2dlxfqwimjy4d6b31h6-X-Restart-Triggers-dbus.drv'...
building '/nix/store/2h8jl1nvhdcx4n9h984cqbzyha0p8rv4-unit-console-getty.service-disabled.drv'...
building '/nix/store/6v4n616x7bw7kvlihf6flprk0hmch2cq-unit-dbus.service.drv'...
building '/nix/store/g9b8ygbh601g9p7mhy4bch7qss6zlrs5-unit-dbus.service.drv'...
building '/nix/store/n48j029yh37jrlw1jimvybcy80w816d0-unit-dhcpcd.service.drv'...
building '/nix/store/3p0hx793c08ch8i52jqgf32slx3w1pxn-unit-script-systemd-timesyncd-pre-start.drv'...
building '/nix/store/bn8svjlw1jyb6pjk30wgrh3fmp2n6x7y-unit-systemd-udevd.service.drv'...
building '/nix/store/azjmhlm1ndm0ircz52kb310p8aiqr8yh-unit-systemd-timesyncd.service.drv'...
building '/nix/store/dxakwfk1gjq7qy10n1xn80ipfzqn1ggw-user-units.drv'...
building '/nix/store/rxcfl9malnbw2d4jnr46jqk62rjw84rg-system-units.drv'...
building '/nix/store/ylib9fljxa2w6f9srmwp9crwa42rbq4d-users-groups.json.drv'...
building '/nix/store/nma2zn8z08d42m7q6gqsan7jp579hxlf-etc.drv'...
building '/nix/store/dxaiglxp0yap5npr1k5nksxa9xdxxbs3-nixos-system-nixos-25.11.20250608.08fcb0d.drv'...
building '/nix/store/m1v9bb82wz73makacmpbh80xw5125g4d-closure-info.drv'...
structuredAttrs is enabled
umount: /mnt/disko-install-root: not mounted
++ realpath /dev/vdb
+ disk=/dev/vdb
+ lsblk -a -f
NAME   FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
fd0
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
vda
├─vda1 vfat   FAT16       12CE-A600                             499.7M     0% /boot
└─vda2 ext4   1.0         03639fe1-a928-42c0-9f04-bbb9a1b3ac61    1.3G     1% /
vdb
+ lsblk --output-all --json
+ bash -x
++ dirname /nix/store/fpwn44vygjj6bfn8s1jj9p8yh6jhfxni-disk-deactivate/disk-deactivate
+ jq -r -f /nix/store/fpwn44vygjj6bfn8s1jj9p8yh6jhfxni-disk-deactivate/zfs-swap-deactivate.jq
+ lsblk --output-all --json
+ bash -x
++ dirname /nix/store/fpwn44vygjj6bfn8s1jj9p8yh6jhfxni-disk-deactivate/disk-deactivate
+ jq -r --arg disk_to_clear /dev/vdb -f /nix/store/fpwn44vygjj6bfn8s1jj9p8yh6jhfxni-disk-deactivate/disk-deactivate.jq
+ set -fu
++ type zdb
++ zdb -l /dev/vdb
++ sed -nr 's/ +name: '\''(.*)'\''/\1/p'
+ zpool=
+ [[ -n '' ]]
+ unset zpool
++ lsblk /dev/vdb -l -p -o type,name
++ awk 'match($1,"raid.*") {print $2}'
+ md_dev=
+ [[ -n '' ]]
+ wipefs --all -f /dev/vdb
/dev/vdb: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
/dev/vdb: 8 bytes were erased at offset 0x7ffffe00 (gpt): 45 46 49 20 50 41 52 54
/dev/vdb: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa
+ dd if=/dev/zero of=/dev/vdb bs=440 count=1
1+0 records in
1+0 records out
440 bytes copied, 0.00150232 s, 293 kB/s
+ lsblk -a -f
NAME   FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
fd0
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
vda
├─vda1 vfat   FAT16       12CE-A600                             499.7M     0% /boot
└─vda2 ext4   1.0         03639fe1-a928-42c0-9f04-bbb9a1b3ac61    1.3G     1% /
vdb
++ mktemp -d
+ disko_devices_dir=/tmp/tmp.gcHYSlYRWC
+ trap 'rm -rf "$disko_devices_dir"' EXIT
+ mkdir -p /tmp/tmp.gcHYSlYRWC
+ destroy=1
+ device=/dev/vdb
+ imageName=secondary
+ imageSize=2G
+ name=secondary
+ type=disk
+ device=/dev/vdb
+ efiGptPartitionFirst=1
+ type=gpt
+ blkid /dev/vdb
+ sgdisk --clear /dev/vdb
Creating new GPT entries in memory.
The operation has completed successfully.
+ sgdisk --align-end --new=1:0:+500M --partition-guid=1:R --change-name=1:disk-secondary-firstESP --typecode=1:EF00 /dev/vdb
The operation has completed successfully.
+ partprobe /dev/vdb
+ udevadm trigger --subsystem-match=block
+ udevadm settle --timeout 120
+ sgdisk --align-end --new=2:0:-0 --partition-guid=2:R --change-name=2:disk-secondary-firstRootPartition --typecode=2:8300 /dev/vdb
The operation has completed successfully.
+ partprobe /dev/vdb
+ udevadm trigger --subsystem-match=block
+ udevadm settle --timeout 120
+ device=/dev/disk/by-partlabel/disk-secondary-firstESP
+ extraArgs=()
+ declare -a extraArgs
+ format=vfat
+ mountOptions=('umask=0077')
+ declare -a mountOptions
+ mountpoint=/boot
+ type=filesystem
+ blkid /dev/disk/by-partlabel/disk-secondary-firstESP
+ grep -q TYPE=
+ mkfs.vfat /dev/disk/by-partlabel/disk-secondary-firstESP
mkfs.fat 4.2 (2021-01-31)
+ device=/dev/disk/by-partlabel/disk-secondary-firstRootPartition
+ extraArgs=()
+ declare -a extraArgs
+ format=ext4
+ mountOptions=('defaults')
+ declare -a mountOptions
+ mountpoint=/
+ type=filesystem
+ blkid /dev/disk/by-partlabel/disk-secondary-firstRootPartition
+ grep -q TYPE=
+ mkfs.ext4 /dev/disk/by-partlabel/disk-secondary-firstRootPartition
mke2fs 1.47.2 (1-Jan-2025)
Discarding device blocks: done
Creating filesystem with 395776 4k blocks and 99008 inodes
Filesystem UUID: a48a06dd-dcac-4602-b7fa-87d19e07bac3
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

+ set -efux
+ destroy=1
+ device=/dev/vdb
+ imageName=secondary
+ imageSize=2G
+ name=secondary
+ type=disk
+ device=/dev/vdb
+ efiGptPartitionFirst=1
+ type=gpt
+ destroy=1
+ device=/dev/vdb
+ imageName=secondary
+ imageSize=2G
+ name=secondary
+ type=disk
+ device=/dev/vdb
+ efiGptPartitionFirst=1
+ type=gpt
+ device=/dev/disk/by-partlabel/disk-secondary-firstRootPartition
+ extraArgs=()
+ declare -a extraArgs
+ format=ext4
+ mountOptions=('defaults')
+ declare -a mountOptions
+ mountpoint=/
+ type=filesystem
+ findmnt /dev/disk/by-partlabel/disk-secondary-firstRootPartition /mnt/disko-install-root/
+ mount /dev/disk/by-partlabel/disk-secondary-firstRootPartition /mnt/disko-install-root/ -t ext4 -o defaults -o X-mount.mkdir
+ destroy=1
+ device=/dev/vdb
+ imageName=secondary
+ imageSize=2G
+ name=secondary
+ type=disk
+ device=/dev/vdb
+ efiGptPartitionFirst=1
+ type=gpt
+ device=/dev/disk/by-partlabel/disk-secondary-firstESP
+ extraArgs=()
+ declare -a extraArgs
+ format=vfat
+ mountOptions=('umask=0077')
+ declare -a mountOptions
+ mountpoint=/boot
+ type=filesystem
+ findmnt /dev/disk/by-partlabel/disk-secondary-firstESP /mnt/disko-install-root/boot
+ mount /dev/disk/by-partlabel/disk-secondary-firstESP /mnt/disko-install-root/boot -t vfat -o umask=0077 -o X-mount.mkdir
+ rm -rf /tmp/tmp.gcHYSlYRWC
Copying store paths
/nix/store/h2x8jrjwwkmr3q1hyihjlw58xn93h223-disko-install/bin/.disko-install-wrapped: line 259: xargs: command not found
Loading nix database
installing the boot loader...
chroot: failed to run command '/nix/var/nix/profiles/system/activate': No such file or directory
chroot: failed to run command ‘/nix/var/nix/profiles/system/sw/bin/bash’: No such file or directory
disko-install failed
/nix/store/h2x8jrjwwkmr3q1hyihjlw58xn93h223-disko-install/bin/.disko-install-wrapped: line 160: mountpoint: command not found
rmdir: failed to remove '/mnt/disko-install-root': Device or resource busy

[root@nixos:~]# 

Expected results

There are no command-not-found errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions