| 24 Oct 2025 |
522 it/its ⛯ΘΔ | so basically what i did, intentionally give it the rev it wants, ig? | 11:42:59 |
522 it/its ⛯ΘΔ | (idk how much the rev matters here, but i might as well give it the commit sha because i do have that) | 11:43:27 |
522 it/its ⛯ΘΔ | is there an issue for this so i can link to it in my config? | 11:43:39 |
522 it/its ⛯ΘΔ | ah, https://git.lix.systems/lix-project/lix/issues/906 | 11:44:18 |
522 it/its ⛯ΘΔ | oh but that seems to suggest applying a patch that has been merged | 11:45:25 |
522 it/its ⛯ΘΔ | ah, https://git.lix.systems/lix-project/nixos-module/issues/56 seems more appropriate | 11:46:05 |
| m0tholith joined the room. | 14:24:48 |
m0tholith | hey everyone, im getting into using lix on nixos using the "advanced change" config, and im having trouble since i use the pipes feature. can i keep using pipes or do i have to stop using the,? | 14:26:36 |
m0tholith | * hey everyone, im getting into using lix on nixos using the "advanced change" config, and im having trouble since i use the pipes feature. can i keep using pipes or do i have to stop using them? | 14:26:40 |
Sofie 🏳️⚧️ (she/her) | what...?
[root@cedarix:~]# nix shell nixpkgs#git
error: source tree referenced by 'path:/nix/store/9v6qa656sq3xc58vkxslqy646p0ajj61-source?lastModified=1759381078&narHash=sha256-gTrEEp5gEspIcCOx9PD8kMaF1iEmfBcTbO0Jag2QhQs%3D&rev=7df7ff7d8e00218376575f0acdcc5d66741351ee' does not contain a '/flake.nix' file
| 14:26:59 |
K900 | You can use the pipe-operator experimental feature | 14:27:26 |
m0tholith | yeah i just checked the lix manual and it looks like that's what i need. kind of weird that it's named operator instead of operators like in cppnix? | 14:28:23 |
Sofie 🏳️⚧️ (she/her) | this was to an remove rpi | 14:30:46 |
K900 | Because we only have forward pipe | 14:33:23 |
K900 | No reverse pipe | 14:33:27 |
Sofie 🏳️⚧️ (she/her) | * | 14:59:33 |
Sofie 🏳️⚧️ (she/her) | is this expected? | 15:42:39 |
K900 | No | 15:51:18 |
piegames | In reply to @k900:0upti.me Because we only have forward pipe That's half-true. Because CppNix did not look at the Lix implementation when doing it | 16:29:23 |
piegames | We currently have a backpipe operator, but it is not guaranteed to stay | 16:29:50 |
daylin | is it likely the "forward" operator will stay? I like it very much and would be sad to see it go | 17:26:56 |
piegames | Yes | 17:28:36 |
lillecarl | I talked to Rickard from nixbuild.net and we were discussing GC, I mentioned my idea for time based GC using the registrationtime field of the database (and keeping it up2date) and he said that they're doing something like that at nixbuild (but more elaborate with ownership tracking and $stuff). What's Lix stance on db.sqlite schema changes? I imagine it's hard to get a new field added to ValidPaths table, it would be really nice to track when something was last required (including with "nix copy"), then nix-serve(ng) and a normal NixOS box really ticks all boxes for a good LRU cache solution OOTB | 22:37:15 |
lillecarl | https://github.com/NixOS/nix/issues/7572 I'm not the first person to have this idea, hehe | 23:04:44 |
hexa | if it exists, there is a store path for it | 23:10:29 |
hexa | or something like that | 23:10:41 |
hexa | I'm not an expert | 23:10:43 |
522 it/its ⛯ΘΔ | tbh i do feel that's better solved outside of the nix impl itself, at least in terms of "you don't need to change the GC" | 23:12:17 |
522 it/its ⛯ΘΔ | like: i have my direnv set to make gcroots in .cache, so they aren't removed until i explicitly delete that directory | 23:12:40 |
522 it/its ⛯ΘΔ | perhaps something similar can be done for "transient" paths like nix run nixpkgs#meowmeowmeow | 23:13:19 |