oh ,i build success ! It just seems to take a bit too long.
But now I’m using the i3wm environment, and I can’t launch Cursor with drun
(rofi) , but I can start it via the command line like cursor ■■■_folder
. Hmm, do you know what might be the reason?
ifnk in 🌐 ifnk-pc in nixos-config on master took 20s ❯ sudo nixos-rebuild switch --flake .#ifnk-pc -vv --show-trace --option substituters "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
$ nix --extra-experimental-features nix-command flakes build --out-link /tmp/nixos-rebuild.DMIbtN/nixos-rebuild .#nixosConfigurations."ifnk-pc".config.system.build.nixos-rebuild -vv --show-trace --option substituters https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store
evaluating file '<nix/derivation-internal.nix>'
evaluating derivation 'git+file:///home/ifnk/nixos-config#nixosConfigurations."ifnk-pc".config.system.build.nixos-rebuild'...
evaluating file '/nix/store/ad689rd7j0prpyj483hfhsdmhgsb0bd1-source/flake.nix'
$ exec /nix/store/rdpwz6cq2d2blj3naqgh8pyn9l770zj7-nixos-rebuild/bin/nixos-rebuild switch --flake .#ifnk-pc -vv --show-trace --option substituters https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store
building the system configuration...
Building in flake mode.
$ nix --extra-experimental-features nix-command flakes build .#nixosConfigurations."ifnk-pc".config.system.build.toplevel -vv --show-trace --option substituters https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store --out-link /tmp/nixos-rebuild.m4iary/result
evaluating file '<nix/derivation-internal.nix>'
evaluating derivation 'git+file:///home/ifnk/nixos-config#nixosConfigurations."ifnk-pc".config.system.build.toplevel'...
evaluating file '/nix/store/ad689rd7j0prpyj483hfhsdmhgsb0bd1-source/flake.nix'
these 20 derivations will be built:
/nix/store/a2xjqwjfmj47366ll884c54786xcjmv6-Cursor-0.47.8-82ef0f61c01d079d1b7e5ab04d88499d5af500e3.deb.glibc2.25-x86_64.AppImage.drv
/nix/store/q2c370akz10mljiwjrw0riqbmz63cbgv-cursor-0.47.8-extracted.drv
/nix/store/m9qsrd7rdfkazxb2wki1yprnmvlndp5c-cursor-0.47.8-init.drv
/nix/store/0b52lhak4v7b4dl0fxrkpzssi2n3g9ws-cursor-0.47.8-bwrap.drv
/nix/store/qs6dh2gvlj4br4zf5q861q7v8v7jxg0n-cursor-0.47.8.drv
/nix/store/x72f97i3f8lnlajc3dqlb87dll69z5cf-cursor-0.47.8.drv
/nix/store/2xwirny80dlli3d7x4hhzl1algi8nn2j-home-manager-path.drv
/nix/store/mfmswhmy6q5xvnvkmrr9hyjg8rya8afg-user-environment.drv
/nix/store/qpw8wvq0fgb2xj24b32jk0djkiqh3i9l-hm_fontconfigconf.d10hmfonts.conf.drv
/nix/store/byxcwlycrhlmpi7dbyslqy5j2pjmijvq-cursor-0.47.8-fish-completions.drv
/nix/store/whz3589hijgh4kf26xa85nxxvrsciib9-ifnk-fish-completions.drv
/nix/store/7bldwmsp786yxsc4q850pxb7v5l9g4ln-man-paths.drv
/nix/store/6lpmhhnv2hl5blfj4mljxbz4650yqw3p-man-cache.drv
/nix/store/z1p87cx719b9940ik4wki4xzvv57d4k3-hm_.manpath.drv
/nix/store/akary6bd6b7xb6261v9a2bksc3b5wl5m-home-manager-files.drv
/nix/store/33g9rlfkd4hvnqlwkh1pvq9bbj9j4ncd-home-manager-generation.drv
/nix/store/nj98lw9cnww14b75kvwgaalqw1nqmikb-unit-home-manager-ifnk.service.drv
/nix/store/r7m2sfxw2fp8klskaqi68qavwqrg6x5j-system-units.drv
/nix/store/b8kg0c0ml4l1ih838q0183wqkv4w7k8x-etc.drv
/nix/store/2cypa772wgrsqsdm7kkhyapvmccr79dq-nixos-system-ifnk-pc-25.05.20250331.77b584d.drv
building '/nix/store/a2xjqwjfmj47366ll884c54786xcjmv6-Cursor-0.47.8-82ef0f61c01d079d1b7e5ab04d88499d5af500e3.deb.glibc2.25-x86_64.AppImage.drv'...
[1/0/20 built] building Cursor-0.47.8-82ef0f61c01d079d1b7e5ab04d88499d5af500e3.deb.glibc2.25-x86_64.AppImage: Dload Upload Total Spent Left Speed
[1/0/20 built] building Cursor-0.47.8-82ef0f61c01d079d1b7e5ab04d88499d5af500e3.deb.glibc2.25-x86_64.AppImage: Dload Upload Total Spent Left Speed
building '/nix/store/q2c370akz10mljiwjrw0riqbmz63cbgv-cursor-0.47.8-extracted.drv'...
building '/nix/store/m9qsrd7rdfkazxb2wki1yprnmvlndp5c-cursor-0.47.8-init.drv'...
building '/nix/store/0b52lhak4v7b4dl0fxrkpzssi2n3g9ws-cursor-0.47.8-bwrap.drv'...
building '/nix/store/qs6dh2gvlj4br4zf5q861q7v8v7jxg0n-cursor-0.47.8.drv'...
building '/nix/store/x72f97i3f8lnlajc3dqlb87dll69z5cf-cursor-0.47.8.drv'...
building '/nix/store/byxcwlycrhlmpi7dbyslqy5j2pjmijvq-cursor-0.47.8-fish-completions.drv'...
building '/nix/store/2xwirny80dlli3d7x4hhzl1algi8nn2j-home-manager-path.drv'...
building '/nix/store/7bldwmsp786yxsc4q850pxb7v5l9g4ln-man-paths.drv'...
building '/nix/store/whz3589hijgh4kf26xa85nxxvrsciib9-ifnk-fish-completions.drv'...
building '/nix/store/6lpmhhnv2hl5blfj4mljxbz4650yqw3p-man-cache.drv'...
building '/nix/store/qpw8wvq0fgb2xj24b32jk0djkiqh3i9l-hm_fontconfigconf.d10hmfonts.conf.drv'...
building '/nix/store/mfmswhmy6q5xvnvkmrr9hyjg8rya8afg-user-environment.drv'...
building '/nix/store/z1p87cx719b9940ik4wki4xzvv57d4k3-hm_.manpath.drv'...
building '/nix/store/akary6bd6b7xb6261v9a2bksc3b5wl5m-home-manager-files.drv'...
building '/nix/store/33g9rlfkd4hvnqlwkh1pvq9bbj9j4ncd-home-manager-generation.drv'...
building '/nix/store/nj98lw9cnww14b75kvwgaalqw1nqmikb-unit-home-manager-ifnk.service.drv'...
building '/nix/store/r7m2sfxw2fp8klskaqi68qavwqrg6x5j-system-units.drv'...
building '/nix/store/b8kg0c0ml4l1ih838q0183wqkv4w7k8x-etc.drv'...
building '/nix/store/2cypa772wgrsqsdm7kkhyapvmccr79dq-nixos-system-ifnk-pc-25.05.20250331.77b584d.drv'...
$ nix-env -p /nix/var/nix/profiles/system --set /nix/store/kgkqchi9x55xvygmzghmpd1j8lndsln8-nixos-system-ifnk-pc-25.05.20250331.77b584d
$ systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER= --collect --no-ask-password --pipe --quiet --service-type=exec --unit=nixos-rebuild-switch-to-configuration --wait true
Using systemd-run to switch configuration.
$ systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER= --collect --no-ask-password --pipe --quiet --service-type=exec --unit=nixos-rebuild-switch-to-configuration --wait /nix/store/kgkqchi9x55xvygmzghmpd1j8lndsln8-nixos-system-ifnk-pc-25.05.20250331.77b584d/bin/switch-to-configuration switch
updating systemd-boot from 256.10 to 257.3
Copied "/nix/store/b2cfj7yk3wfg1jdwjzim7306hvsc5gnl-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/systemd/systemd-bootx64.efi".
Copied "/nix/store/b2cfj7yk3wfg1jdwjzim7306hvsc5gnl-systemd-257.3/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/BOOT/BOOTX64.EFI".
stopping the following units: accounts-daemon.service, audit.service, kmod-static-nodes.service, logrotate-checkconf.service, mount-pstore.service, network-local-commands.service, network-setup.service, nscd.service, resolvconf.service, systemd-modules-load.service, systemd-oomd.service, systemd-oomd.socket, systemd-sysctl.service, systemd-timesyncd.service, systemd-vconsole-setup.service, vmware.service
NOT restarting the following changed units: display-manager.service, [email protected], systemd-fsck@dev-disk-by\x2duuid-2121\x2d4032.service, systemd-journal-flush.service, systemd-logind.service, systemd-random-seed.service, systemd-remount-fs.service, systemd-update-utmp.service, systemd-user-sessions.service, [email protected], [email protected]
activating the configuration...
setting up /etc...
restarting systemd...
reloading user units for ifnk...
restarting sysinit-reactivation.target
reloading the following units: dbus.service, firewall.service, reload-systemd-vconsole-setup.service
restarting the following units: dhcpcd.service, nix-daemon.service, polkit.service, run-vmblock\x2dfuse.mount, sshd.service, systemd-journald.service, systemd-udevd.service
starting the following units: accounts-daemon.service, audit.service, kmod-static-nodes.service, logrotate-checkconf.service, mount-pstore.service, network-setup.service, nscd.service, resolvconf.service, systemd-modules-load.service, systemd-oomd.socket, systemd-sysctl.service, systemd-timesyncd.service, systemd-vconsole-setup.service, vmware.service
the following new units were started: sys-kernel-tracing.mount, sysinit-reactivation.target, systemd-journald-audit.socket, systemd-tmpfiles-resetup.service
Done. The new configuration is /nix/store/kgkqchi9x55xvygmzghmpd1j8lndsln8-nixos-system-ifnk-pc-25.05.20250331.77b584d