!9IQChSjwSHXPPWTa:lix.systems

Lix

1107 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-rooms296 Servers

Load older messages


SenderMessageTime
1 Dec 2025
@schromp:echsen.clubschromp joined the room.20:52:51
2 Dec 2025
@dr_teagle:matrix.orgdr_teaglehow would I do "subflakes" mainly for devshells. I have shared dependencies in the top-level flake and then the specific dependencies lower. This is for an obsidian vault02:32:59
@k900:0upti.meK900 Don't 05:39:21
@k900:0upti.meK900 Do multiple dev shells in one flake if you must 05:39:30
@just1602:systemli.orgjust1602I've colleague who did that in a couple of repos at work, and it's a mess to work with. You should really listen to k900 advise, IMO05:41:14
@dr_teagle:matrix.orgdr_teagleunderstandable05:55:16
@brendanzab:matrix.orgbrendanzabHey, just wondering if there is there any consensus yet on what to do r.e. the flake freeze? i.e. https://lix.systems/blog/2025-11-18-lix-2.94-release/#flakes-enters-freeze-period and https://wiki.lix.systems/books/lix-contributors/page/flakes-feature-freeze? Is it better just to wait and see where things go, trusting that there will be a decent migration period?09:44:50
@k900:0upti.meK900Don't do anything yet09:53:20
@k900:0upti.meK900There will be no removal of flakes without some sort of offramp09:53:34
@brendanzab:matrix.orgbrendanzabAh, thanks! Was a little unsure from how the announcements were worded.09:57:52
@helle:tacobelllabs.nethelle (just a stray cat girl)there will also likely be a plug-in or similar situation to allow you to use flakes10:27:33
@nikstur:matrix.orgniksturIs there a way I can give nix-eval-jobs an --attr flag (just like nix-build) so that it only builds a subset of packages in a file10:45:10
@nikstur:matrix.orgnikstur* Is there a way I can give nix-eval-jobs an --attr flag (just like nix-build) so that it only builds a subset of packages in a file?10:45:15
@ghlent:matrix.orgghlent joined the room.10:56:28
@raitobezarius:matrix.orgraitobezarius--expr11:27:50
@nikstur:matrix.orgnikstur Ok so I have to build the expression myself, e.g. --expr '(import ./release.nix).packages' vs --attr packages. 11:39:46
@chair:summoner.websitechair changed their profile picture.17:59:52
@522_:catgirl.cloud522 it/its ⛯ΘΔ

(presumably not lix specific but im using lix so)
is there a way to always build (as opposed to just look up in the nix store) a derivation (dependencies can be substituted, that doesn't matter), without needing to just go "try --rebuild, if that fails it doesn't exist in the store, so try and build it, then use --rebuild again if that didn't actually build it)

basically, use case is for reproducible build checking, i'm considering writing a tool that just takes a .drv then builds it, then hashes the output directory and you can store the mapping from .drv to hash in a repo

19:51:18
@piegames:flausch.socialpiegames I fear not but it should exist really 19:55:09
@llakala:matrix.orgllakala i assume you already know about --check? 19:55:57
@522_:catgirl.cloud522 it/its ⛯ΘΔyeah afaik that's just the same as --rebuild you need it to be in your nix store before you can --check something19:56:29
@llakala:matrix.orgllakaladamn19:56:37
@aloisw:julia0815.dealoiswOnly simplification I'm aware of is that you can omit the first step, because building should be idempotent.20:07:16
@aloisw:julia0815.dealoisw Arguably it would be nice if --rebuild/--check could do both build and rebuild instead of fail on nonexistent paths. 20:08:57
@522_:catgirl.cloud522 it/its ⛯ΘΔwhat, so build (and ignore the hash) then --rebuild? yeah that works, but it's double the work if it didn't exist20:09:13
@aloisw:julia0815.dealoisw Ah, so you want more a targeted --option substitute false than more convenient --rebuild? 20:11:05
@522_:catgirl.cloud522 it/its ⛯ΘΔ i basically want "give me an output directory that was built on this device right now", yeah 20:12:03
@522_:catgirl.cloud522 it/its ⛯ΘΔso "don't give me what's in the nix store if it's in there already, don't fetch it from caches"20:12:20
@k900:0upti.meK900 I feel like --check should even build twice by default 20:12:27
@k900:0upti.meK900 And --rebuild should build or rebuild, yeah 20:12:34

Show newer messages


Back to Room ListRoom Version: 10