| 8 Dec 2025 |
raitobezarius | oh that's very VERY spicy | 12:55:38 |
raitobezarius | can you open an issue with that? | 12:55:43 |
Aijokey | what does `# /etc/systemd/system/nix-daemon.service
[Unit]
Description=Nix Daemon
Documentation=man:nix-daemon https://docs.lix.systems/manual/lix/stable
RequiresMountsFor=/nix/store
RequiresMountsFor=/nix/var
RequiresMountsFor=/nix/var/nix/db
ConditionPathIsReadWrite=/nix/var/nix/daemon-socket
[Service]
ExecStart=@/nix/store/xm1wr0cf6kpcdfwpi0arknlr5iljy751-lix-2.91.3/bin/nix-daemon nix-daemon --daem>
KillMode=process
LimitNOFILE=1048576
TasksMax=1048576
[Install]
WantedBy=multi-user.target
# /nix/store/8vy438q5bss25g7rfp2d523jlrhf3a3l-system-units/nix-daemon.service.d/overrides.conf
[Unit]
RequiresMountsFor=/nix/store
X-Restart-Triggers=/nix/store/mibs0601bwifchsgvlpnj6wnz01fnjf5-X-Restart-Triggers-nix-daemon
[Service]
Environment="CURL_CA_BUNDLE=/nix/store/pxg9a4a39ms2312i2k2wx1hvigid718d-nss-cacert-3.111/etc/ssl/c>
Environment="LOCALE_ARCHIVE=/nix/store/fkl44anqjswxsp6jpmb229jqz79r7d4g-glibc-locales-2.40-66/lib/>
Environment="PATH=/nix/store/xm1wr0cf6kpcdfwpi0arknlr5iljy751-lix-2.91.3/bin:/nix/store/m10ngkbjxb>
Environment="TZDIR=/nix/store/g9fkd8j29j0dmln6xinp3mk7qcpwfizz-tzdata-2025b/share/zoneinfo"
X-StopIfChanged=false
CPUSchedulingPolicy=other
Delegate=yes
IOSchedulingClass=best-effort
IOSchedulingPriority=4
LimitNOFILE=1048576
systemctl cat nix-daemon` show? | 14:47:37 |
raitobezarius | you have a large enough open files limit but you are running a very old lix which is not supported anymore, i think you should try to update your system via NIX_REMOTE=local to latest stable | 14:48:45 |
Aijokey | https://github.com/Aijokey/nix_configs/blob/main/configuration.nix | 14:50:15 |
raitobezarius | perhaps, your channel is old? | 14:50:49 |
raitobezarius | you seem to be using a 24.11 or 25.05 channel I'd say | 14:50:56 |
hexa | it's 25.05 | 14:50:58 |
Aijokey | Redacted or Malformed Event | 14:51:27 |
Aijokey | ❯ sudo nix-channel --list
[sudo] password for aijokey:
nixos https://channels.nixos.org/nixos-25.11
nixos-unstable https://nixos.org/channels/nixos-unstable | 14:51:53 |
raitobezarius | did you run nix-channel --update ? | 14:52:15 |
hexa | in nixos-25.11 lixPackages.stable.lix is 2.93.3 | 14:52:29 |
Aijokey | yes | 14:52:46 |
raitobezarius | so i guess all that's left is to run NIX_REMOTE=local nixos-rebuild switch now | 14:53:02 |
Aijokey | ❯ NIX_REMOTE=local nixos-rebuild switch now
/run/current-system/sw/bin/nixos-rebuild: unknown option now | 14:54:16 |
Aijokey | ? | 14:54:18 |
raitobezarius | remove the now | 14:54:26 |
Aijokey | waiting for lock on '/nix/store/v1flrsxkmbb3darbh3qassma3if4yn83-app.cash.sqldelight.gradle.plugin-2.1.0.pom'...
waiting for lock on '/nix/store/7m50sgfypkh0as0b5r1d89nnwpcykdq2-app.cash.licensee.gradle.plugin-1.13.0.pom'...
| 14:56:27 |
Aijokey | I have lock that not fixing by reloading | 14:56:47 |
raitobezarius | ah so you have a lock that stuck | 14:57:03 |
raitobezarius | https://wiki.lix.systems/books/lix-users/page/debugging-a-stuck-lix-invocation use step 5 to determine who is holding the lock, then kill the holder, then resume | 14:57:39 |
Aijokey | Unstuck | 14:57:40 |
Aijokey | 100 974 100 974 0 0 7395 0 --:--:-- --:--:-- --:--:-- 7378
waiting for lock on '/nix/store/v1flrsxkmbb3darbh3qassma3if4yn83-app.cash.sqldelight.gradle.plugin-2.1.0.pom'...
waiting for lock on '/nix/store/7m50sgfypkh0as0b5r1d89nnwpcykdq2-app.cash.licensee.gradle.plugin-1.13.0.pom'...
error: opening directory '/nix/store/lhczw64kd1l2w1832ncgll6b4by5zd65-oss-parent-34.pom': Too many open files
Command 'nix-build '<nixpkgs/nixos>' --attr config.system.build.toplevel --no-out-link' returned non-zero exit status 1.
| 14:57:42 |
raitobezarius | i'm trying to see if i can reproduce this | 14:58:32 |
raitobezarius | you are manipulating two channels in your system at the same time hm | 14:58:53 |
Aijokey | always stable and unstable | 14:59:24 |
raitobezarius | I have to step out for 30 minutes or so | 15:01:23 |
raitobezarius | It seems you have Java applications, what happens if you comment them and rebuild? | 15:01:46 |
Aijokey | and it helps | 15:38:10 |
Aijokey | but also i found out something using kotlin and some android tools during building, even after I comment all android/jave pkgs | 15:39:18 |