Lix | 1123 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 | 306 Servers |
| Sender | Message | Time |
|---|---|---|
| 16 Feb 2026 | ||
| 02:23:23 | |
| hrm, you might have to reboot for the kernel to release the volume | 02:28:05 | |
| Going to attempt that now | 02:28:33 | |
| restarted, reran, new error
Revert worked successfully this time. | 02:33:07 | |
| Third attempt, full success. | 02:36:52 | |
| i think the
outputs:
on:
| 08:11:28 | |
| * i think the
outputs:
on:
| 08:11:46 | |
| * i think the
outputs:
on:
| 08:12:34 | |
| i've seen discussion about this before, if i'm remembering correctly it's not implemented for nix3 cli in lix | 09:08:18 | |
| darn, any reason why? it's very handy | 09:40:46 | |
| this ^ | 10:05:13 | |
| I think it's just that no one backported it from cppnix | 10:14:07 | |
| And no one working on Lix wants to touch flake code that much | 10:14:18 | |
| I have attempted to backport it a while ago and it was a challenge. The code is not easy to understand, and I felt a lack of knowledge in both Lix and CppNix codebases to do it efficiently | 10:18:00 | |
| I mean, there's a reason no one wants to touch the flake code :P | 10:18:54 | |
| Mhm, learned that firsthand | 10:19:31 | |
| (I also never knew how such shebangs are implemented, and this is a very specific amalgamation of checks that enables it, like I think the command needs to check its arguments and see how and where it's invoked and then manually read the next line of the file or something like that) | 10:21:06 | |
| (and I became kinda uncomfortable with doing this kind of feature in general, because of how special-case it is) | 10:21:35 | |
| I mean honestly shebangs are just generally horribly cursed | 10:24:06 | |
| Mhm, that is the impression I got | 11:06:53 | |
| So I would aim instead to create some nice-r UX for using general Nix commands and/or code for scripts, than hacking together a shebang | 11:07:43 | |
| 13:49:38 | ||
| 13:50:44 | ||
| 16:27:27 | ||
Could it have something to do with the emulation? When I remove hostPlatform = "aarch64-linux"; I do not get the from elftools.common.exceptions import ELFError error. In this thread it looks like someone has a simular problem. https://discourse.nixos.org/t/fex-as-binfmt-to-build-nix-derivations/74845 | 17:19:58 | |
* Could it have something to do with the cross-compilation/emulation? When I remove hostPlatform = "aarch64-linux"; I do not get the from elftools.common.exceptions import ELFError error. In this thread it looks like someone has a simular problem. https://discourse.nixos.org/t/fex-as-binfmt-to-build-nix-derivations/74845 | 17:23:15 | |
* Could it have something to do with the cross-compilation? When I remove hostPlatform = "aarch64-linux"; I do not get the from elftools.common.exceptions import ELFError error. In this thread it looks like someone has a simular problem. https://discourse.nixos.org/t/fex-as-binfmt-to-build-nix-derivations/74845 | 17:26:39 | |
| * Could it have something to do with the cross-compilation/emulation? When I remove hostPlatform = "aarch64-linux"; I do not get the from elftools.common.exceptions import ELFError error. In this thread it looks like someone has a simular problem. https://discourse.nixos.org/t/fex-as-binfmt-to-build-nix-derivations/74845 | 17:58:35 | |
| for simple case like this I think you can use env -S arg:
| 18:28:30 | |
| 20:18:29 | ||