!9IQChSjwSHXPPWTa:lix.systems

Lix

1120 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-rooms302 Servers

Load older messages


SenderMessageTime
29 Jan 2026
@llakala:matrix.orgllakalayeah I would like autosync15:44:28
@llakala:matrix.orgllakalai mean I think it would be possible to do it with only nix mechanisms15:44:43
@llakala:matrix.orgllakalacould you hash the npins.nix and see if the contents differ?15:45:09
@coca162:matrix.orgCocahttps://discourse.nixos.org/t/nixtamal-fulfilling-pure-input-pinning-for-nix/74745 funnily I just saw this, so I'm curious how they handle it, unfortunately I cannot comment however due to my trust level so I will just poke around at it15:45:15
@coca162:matrix.orgCoca* https://discourse.nixos.org/t/nixtamal-fulfilling-pure-input-pinning-for-nix/74745 funnily I just saw this, so I'm curious how they handle it, though unfortunately I cannot comment due to my trust level so I will just poke around at it15:45:36
@llakala:matrix.orgllakalai didn't look into nixtimal too much, it only uses derivation fetchers which I find a little silly15:46:01
@llakala:matrix.orgllakalaif you wanted to be really crazy, you could have a single npins.nix file with two attrsets within it15:47:16
@llakala:matrix.orgllakala```nix { sources.nixpkgs = { type = "github"; owner = "nixos"; repo = "nixpkgs"; branch = "nixos-unstable"; }; lock.nixpkgs = { ref = "some-git-ref-here"; url = "https://github.com/nixos/nixpkgs/some-git-ref-here.tar.gz"; hash = "sha256-blahblahblah"; }; } ```15:50:32
@llakala:matrix.orgllakala* ``` { sources.nixpkgs = { type = "github"; owner = "nixos"; repo = "nixpkgs"; branch = "nixos-unstable"; }; lock.nixpkgs = { ref = "some-git-ref-here"; url = "https://github.com/nixos/nixpkgs/some-git-ref-here.tar.gz"; hash = "sha256-blahblahblah"; }; } ```15:50:40
@llakala:matrix.orgllakalagod i hate matrix15:50:49
@llakala:matrix.orgllakalaanyways in this approach, this file is our only source of truth15:51:44
@llakala:matrix.orgllakalaif we have some extra info in lock.nixpkgs, we could probably prevent desync by detecting when the lock and the source disagree15:52:43
@coca162:matrix.orgCocathe issue still pretty much remains, in nix there is no way for us to edit files to update the locks, the user would see the locks are mismatching but they'd still need to do something extra15:52:44
@llakala:matrix.orgllakala
In reply to @coca162:matrix.org
the issue still pretty much remains, in nix there is no way for us to edit files to update the locks, the user would see the locks are mismatching but they'd still need to do something extra
oh yeah wait of course
15:53:18
@llakala:matrix.orgllakalaI forgot we couldn't edit files in nix15:53:23
@llakala:matrix.orgllakalaand I was imagining we could just update the lockfile for the user15:53:35
@llakala:matrix.orgllakalai mean we could error out if there's a desync15:53:47
@llakala:matrix.orgllakalathe alternative would be an in-repo minimal executable15:54:52
@llakala:matrix.orgllakalabut I guess you couldn't call that from within a rebuild15:55:47
@llakala:matrix.orgllakalaso you'd have to use that for all your nix commands, which seems suboptimal15:55:58
@llakala:matrix.orgllakalaI'll have to think more about the idea15:56:15
@coca162:matrix.orgCoca(at which point you might as well modify something like nilla to get the full flake package honestly)15:58:16
@coca162:matrix.orgCoca* (at which point you might as well modify something like nilla to get the full flake-like package honestly)15:58:36
@llakala:matrix.orgllakalanever, i'm a nilla hater (I think flake-parts-like design sucks, and prefer a simple entrypoint that does as little as possible)15:59:16
@llakala:matrix.orgllakalasee also https://github.com/hsjobeki/mana which has some interesting ideas16:00:08
@coca162:matrix.orgCocawill keep it in the back of my head amongst that collection of things...16:01:58
@coca162:matrix.orgCocaI do find it overkill myself as well, just feels like having all these tools that are so similar shaped in so many aspects but not enough for a lot of people just means they won't be useful for most since they do need some sort of wide ranged adoption to become nice to use16:05:38
@antifuchs:asf.computerantifuchseh, there's a large solution space to explore; I'm ok with what I have for "home production" use in flakes, but I appreciate that people are trying for different trade-offs and seeing what things can be done there18:10:15
@antifuchs:asf.computerantifuchs(this is a similar debate to the "one major implementation per language" / "many wildly varying implementations for a language spec" one we fought with common lisp for a long time) (:18:11:38
@mzerodev:matrix.orgZoe Z for the installer should --extra-conf be passed once for each conf line or a single time with all the extra conf? 19:00:21

There are no newer messages yet.


Back to Room ListRoom Version: 10