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-rooms | 292 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Nov 2025 | ||
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 | |
| 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 | |
| Feels like something that could usefully be configurable, given the behaviour of different filesystems etc is likely to have an impact | 09:49:04 | |
| 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 | |
| do note that there is now a tmp build dir under /nix | 10:17:15 | |
/nix/var/nix/builds so the first thing to do would be make sure that's empty | 10:18:01 | |
| 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 | |
| yeah, just worth checking, since building is a common reason why it might fill | 10:19:44 | |
| Well, the other common reason is that you just forgot to run GC until it's too late… | 10:20:13 | |
| 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 | |
| More half-formed cursed thoughts .. have the daemon disable WAL when disk usage hits a particular %age? | 10:30:44 | |
| (I'm under medical advice to give up caffeine, so excuse gibberish) | 10:33:31 | |
| 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.
(essentially-ish) but it takes over /nix/var/nix/daemon-socket/socket anyways? | 18:15:05 | |
| NIX_DAEMON_SOCKET_PATH found it, sry I'll look harder next time 😄 | 18:25:06 | |
| 19:34:39 | |
| ugh.... | 19:34:42 | |
| or..... should I patch it? upstream LLVM has a patch for this | 19:35:11 | |
| how can I remove a patch from llvm? | 20:13:56 | |
| like | 20:13:57 | |
| that gnu install dirs one | 20:14:08 | |
| That will absolutely fuck up the packaging to be unusable | 20:27:08 | |
| this is for one | 20:38:51 | |
| package | 20:38:52 | |
| 🥰 | 20:39:03 | |
| Is there any way to get from DerivedPath to StorePath (outPath)? I don't particularly care if it's built yet or not | 20:52:55 | |
| * Is there any way to get from DerivedPath to StorePath (outPath) (s)? I don't particularly care if it's built yet or not | 21:00:42 | |
| 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 | |
*
| 21:03:42 | |
| do we have | 21:21:07 | |
| llvm-tblgen for 22? | 21:21:09 | |