!9IQChSjwSHXPPWTa:lix.systems

Lix

1092 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms292 Servers

Load older messages


SenderMessageTime
8 Nov 2025
@aloisw:julia0815.dealoisw If your /tmp is on the same partition as /nix, that should work too of course. But on many systems it isn't. 08:34:20
@aloisw:julia0815.dealoisw I wonder if we should just make the reserved file larger (maybe ~200 MiB, which is a bit above the 160 MiB required for the WAL) and fill it with random data. 08:35:08
@srtcd424:auxolotl.orgtc424 (Steve D)Feels like something that could usefully be configurable, given the behaviour of different filesystems etc is likely to have an impact09:49:04
@aloisw:julia0815.dealoisw Hm, what are you thinking about in concrete terms? I only know the behaviours "deleting the file frees the space it occupies" (which is the full size with random data), "deleting the file is useless" (don't hardlink or reflink that file then) or "deleting the file fails with ENOSPC`. In none of these cases a configurable size helps, except for maybe turning off the reserve file entirely if you expect it to be useless anyway. 09:52:46
@uep:matrix.orguepdo note that there is now a tmp build dir under /nix10:17:15
@uep:matrix.orguep /nix/var/nix/builds so the first thing to do would be make sure that's empty 10:18:01
@aloisw:julia0815.dealoisw Sure, but that doesn't help you if it is empty (which it usually is). The reserved file is about resolving the deadlock between garbage collection and the disk filling up. 10:19:16
@uep:matrix.orguepyeah, just worth checking, since building is a common reason why it might fill10:19:44
@aloisw:julia0815.dealoisw Well, the other common reason is that you just forgot to run GC until it's too late… 10:20:13
@aloisw:julia0815.dealoisw Particularly when running a VM with relatively small virtual disk using certain filesystems that will happily tell you it still has 10 GiB free while already throwing ENOSPC. 10:23:24
@srtcd424:auxolotl.orgtc424 (Steve D)More half-formed cursed thoughts .. have the daemon disable WAL when disk usage hits a particular %age?10:30:44
@srtcd424:auxolotl.orgtc424 (Steve D)(I'm under medical advice to give up caffeine, so excuse gibberish)10:33:31
@lillecarl:matrix.orglillecarl

I'm trying to run nix-daemon against an alternative socket path and a chroot store so I can mess around without ruining my nixos installation.
I did

just build
ln -s ./build/lix/nix/nix ./build/lix/nix/nix-daemon
NIX_REMOTE=unix://$PWD/socket sudo -E ./build/lix/nix/nix-daemon --store /tnix -vvv

(essentially-ish) but it takes over /nix/var/nix/daemon-socket/socket anyways?

18:15:05
@lillecarl:matrix.orglillecarlNIX_DAEMON_SOCKET_PATH found it, sry I'll look harder next time 😄18:25:06
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)
[187/4787] Building RuntimeLibcalls.inc...
FAILED: [code=1] include/llvm/IR/RuntimeLibcalls.inc /build/llvm-src-21.0.0/llvm/build/include/llvm/IR/RuntimeLibcalls.inc 
cd /build/llvm-src-21.0.0/llvm/build/include/llvm/IR && /nix/store/6nd5nl6iqcbfh21hp3y26l28fmgv1bjg-llvm-tblgen-21.1.2/bin/llvm-tblgen -gen-runtime-libcalls -I/build/llvm-src-21.0.0/llvm/include/llvm/IR -I/build/llvm-src-21.0.0/llvm/build/include -I/build/llvm-src-21.0.0/llvm/include /build/llvm-src-21.0.0/llvm/include/llvm/IR/RuntimeLibcalls.td --write-if-changed -o RuntimeLibcalls.inc -d RuntimeLibcalls.inc.d && /nix/store/5bn5f4ivqf4xn19khh4kcg4ngnjs6spg-cmake-4.1.2/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /build/llvm-src-21.0.0/llvm /build/llvm-src-21.0.0/llvm/include/llvm/IR /build/llvm-src-21.0.0/llvm/build /build/llvm-src-21.0.0/llvm/build/include/llvm/IR /build/llvm-src-21.0.0/llvm/build/include/llvm/IR/RuntimeLibcalls.inc.d /build/llvm-src-21.0.0/llvm/build/CMakeFiles/d/30e77c83f02c7836d6e9f82549f72b45e78203b17873909d437c76b9ff3281df.d
error: The class 'SystemRuntimeLibrary' is not defined
{ llvmPackages_21, fetchFromGitHub }:
(llvmPackages_21.override 
{
  version = "21.0.0";
  monorepoSrc = fetchFromGitHub {
    owner = "bloomberg";
    repo = "clang-p2996";
    rev = "p2996";
    hash = "sha256-xadn+JyvUceIsbSzLvdjAuzzN3l/qWbEmgH93kyPM8I=";
  };
}).clang
19:34:39
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)ugh....19:34:42
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)or..... should I patch it? upstream LLVM has a patch for this19:35:11
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)how can I remove a patch from llvm?20:13:56
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)like20:13:57
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)that gnu install dirs one20:14:08
@k900:0upti.meK900That will absolutely fuck up the packaging to be unusable20:27:08
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)this is for one20:38:51
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)package20:38:52
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)🥰20:39:03
@lillecarl:matrix.orglillecarlIs there any way to get from DerivedPath to StorePath (outPath)? I don't particularly care if it's built yet or not20:52:55
@lillecarl:matrix.orglillecarl* Is there any way to get from DerivedPath to StorePath (outPath) (s)? I don't particularly care if it's built yet or not21:00:42
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) FAILED: [code=1] include/llvm/IR/IntrinsicsDirectX.h /build/llvm-src-22.0.0/llvm/build/include/llvm/IR/IntrinsicsDirectX.h
cd /build/llvm-src-22.0.0/llvm/build/include/llvm/IR && /nix/store/6nd5nl6iqcbfh21hp3y26l28fmgv1bjg-llvm-tblgen-21.1.2/bin/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=dx -I/build/llvm-src-22.0.0/llvm/include/llvm/IR -I/build/llvm-src-22.0.0/llvm/build/include -I/build/llvm-src-22.0.0/llvm/include /build/llvm-src-22.0.0/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o IntrinsicsDirectX.h -d IntrinsicsDirectX.h.d && /nix/store/5bn5f4ivqf4xn19khh4kcg4ngnjs6spg-cmake-4.1.2/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /build/llvm-src-22.0.0/llvm /build/llvm-src-22.0.0/llvm/include/llvm/IR /build/llvm-src-22.0.0/llvm/build /build/llvm-src-22.0.0/llvm/build/include/llvm/IR /build/llvm-src-22.0.0/llvm/build/include/llvm/IR/IntrinsicsDirectX.h.d /build/llvm-src-22.0.0/llvm/build/CMakeFiles/d/1fbf3b208a0ee84e3a575f61657bc2205750d6a7a75de234e7fea62a4cd3a05a.d
error: unable to find 'IIT_RetNumbers' list
[191/4908] Building AArch64TargetParserDef.inc...
[192/4908] Building IntrinsicsHexagon.h...
FAILED: [code=1] include/llvm/IR/IntrinsicsHexagon.h /build/llvm-src-22.0.0/llvm/build/include/llvm/IR/IntrinsicsHexagon.h
cd /build/llvm-src-22.0.0/llvm/build/include/llvm/IR && /nix/store/6nd5nl6iqcbfh21hp3y26l28fmgv1bjg-llvm-tblgen-21.1.2/bin/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=hexagon -I/build/llvm-src-22.0.0/llvm/include/llvm/IR -I/build/llvm-src-22.0.0/llvm/build/include -I/build/llvm-src-22.0.0/llvm/include /build/llvm-src-22.0.0/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o IntrinsicsHexagon.h -d IntrinsicsHexagon.h.d && /nix/store/5bn5f4ivqf4xn19khh4kcg4ngnjs6spg-cmake-4.1.2/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /build/llvm-src-22.0.0/llvm /build/llvm-src-22.0.0/llvm/include/llvm/IR /build/llvm-src-22.0.0/llvm/build /build/llvm-src-22.0.0/llvm/build/include/llvm/IR /build/llvm-src-22.0.0/llvm/build/include/llvm/IR/IntrinsicsHexagon.h.d /build/llvm-src-22.0.0/llvm/build/CMakeFiles/d/468a4b3061d6a59ac93a6678027063040f8fb18acabb819cc1a83d9774976c8a.d
error: unable to find 'IIT_RetNumbers' list
[193/4908] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
[194/4908] Building RISCVTargetParserDef.inc...
[195/4908] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o
[196/4908] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/VirtualFileSystem.cpp.o
ninja: build stopped: subcommand failed.
21:03:35
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her) *
FAILED: [code=1] include/llvm/IR/IntrinsicsDirectX.h /build/llvm-src-22.0.0/llvm/build/include/llvm/IR/IntrinsicsDirectX.h 
cd /build/llvm-src-22.0.0/llvm/build/include/llvm/IR && /nix/store/6nd5nl6iqcbfh21hp3y26l28fmgv1bjg-llvm-tblgen-21.1.2/bin/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=dx -I/build/llvm-src-22.0.0/llvm/include/llvm/IR -I/build/llvm-src-22.0.0/llvm/build/include -I/build/llvm-src-22.0.0/llvm/include /build/llvm-src-22.0.0/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o IntrinsicsDirectX.h -d IntrinsicsDirectX.h.d && /nix/store/5bn5f4ivqf4xn19khh4kcg4ngnjs6spg-cmake-4.1.2/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /build/llvm-src-22.0.0/llvm /build/llvm-src-22.0.0/llvm/include/llvm/IR /build/llvm-src-22.0.0/llvm/build /build/llvm-src-22.0.0/llvm/build/include/llvm/IR /build/llvm-src-22.0.0/llvm/build/include/llvm/IR/IntrinsicsDirectX.h.d /build/llvm-src-22.0.0/llvm/build/CMakeFiles/d/1fbf3b208a0ee84e3a575f61657bc2205750d6a7a75de234e7fea62a4cd3a05a.d
error: unable to find 'IIT_RetNumbers' list
[191/4908] Building AArch64TargetParserDef.inc...
[192/4908] Building IntrinsicsHexagon.h...
FAILED: [code=1] include/llvm/IR/IntrinsicsHexagon.h /build/llvm-src-22.0.0/llvm/build/include/llvm/IR/IntrinsicsHexagon.h 
cd /build/llvm-src-22.0.0/llvm/build/include/llvm/IR && /nix/store/6nd5nl6iqcbfh21hp3y26l28fmgv1bjg-llvm-tblgen-21.1.2/bin/llvm-tblgen -gen-intrinsic-enums -intrinsic-prefix=hexagon -I/build/llvm-src-22.0.0/llvm/include/llvm/IR -I/build/llvm-src-22.0.0/llvm/build/include -I/build/llvm-src-22.0.0/llvm/include /build/llvm-src-22.0.0/llvm/include/llvm/IR/Intrinsics.td --write-if-changed -o IntrinsicsHexagon.h -d IntrinsicsHexagon.h.d && /nix/store/5bn5f4ivqf4xn19khh4kcg4ngnjs6spg-cmake-4.1.2/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /build/llvm-src-22.0.0/llvm /build/llvm-src-22.0.0/llvm/include/llvm/IR /build/llvm-src-22.0.0/llvm/build /build/llvm-src-22.0.0/llvm/build/include/llvm/IR /build/llvm-src-22.0.0/llvm/build/include/llvm/IR/IntrinsicsHexagon.h.d /build/llvm-src-22.0.0/llvm/build/CMakeFiles/d/468a4b3061d6a59ac93a6678027063040f8fb18acabb819cc1a83d9774976c8a.d
error: unable to find 'IIT_RetNumbers' list
[193/4908] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
[194/4908] Building RISCVTargetParserDef.inc...
[195/4908] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o
[196/4908] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/VirtualFileSystem.cpp.o
ninja: build stopped: subcommand failed.
21:03:42
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)do we have21:21:07
@sofiedotcafe:matrix.orgSofie 🏳️‍⚧️ (she/her)llvm-tblgen for 22?21:21:09

Show newer messages


Back to Room ListRoom Version: 10