!9IQChSjwSHXPPWTa:lix.systems

Lix

1106 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
27 Nov 2025
@weethet:catgirl.cloudWeetHet Why is it not behing nix-command 12:44:55
@weethet:catgirl.cloudWeetHet Why is there no nix-repl that would work like a normal nix2 program? 12:45:13
@toonn:matrix.orgtoonn It was always like this, there was no repl before nix repl. 12:46:37
@weethet:catgirl.cloudWeetHet Would making it dependent on nix-command being enabled and add a proper nix-repl, or would that be considered breaking? 12:52:10
@toonn:matrix.orgtoonn What would be the benefit? Other than satisfying a desire for consistency? 12:55:09
@sntx:matrix.org@sntx:matrix.org left the room.13:36:10
@goldstein:tty5.devgoldstein Atemu unflake is now public! https://discourse.nixos.org/t/unflake-flake-dependencies-for-non-flake-projects-and-a-way-to-stop-writing-follows/72611 / https://codeberg.org/goldstein/unflake 18:46:41
@aloisw:julia0815.dealoisw
In reply to @weethet:catgirl.cloud
Why does nix repl follow the structure of nix-command while not being experimental? Was it always like that? Is this yet another cppnix historical artifact? Does this mean that nix-command is impossible to remove without a breaking change?
Yes, historical artifact. Actually there was a separate nix-repl at some point but it got merged into the tree.
19:49:53
@ff-vringar:mozilla.orgvringarHey, I'm currently trying to set up nixos on ZFS by following the nixos.wiki/wiki/ZFS guide from the NixOS installer image However, the image doesn't have ZFS kernel module active, the /etc/nixos/configuration.nix is read-only, so I can't add it but zpool create only works with the kernel module present. How can I best bootstrap myself into an environment with the ZFS kernel module present so I can configure the internal disk? My first thoughts are remounting the root file system to be rw or to install NixOS to ext4 on the primary disk, then boot there, follow the tutorial from there and later nuke the ext4 partition and reintegrate it into the zpool19:45:18
@helle:tacobelllabs.nethelle (just a stray cat girl)I mean I kind of prefer the nix-command structure personally, but I haven't know nix without it20:00:17
@raitobezarius:matrix.orgraitobezariusThe NixOS installer image has ZFS on the LTS kernel20:06:56
@raitobezarius:matrix.orgraitobezariusSimply reboot in the LTS kernel and you should have ZFS I think?20:07:03
@ff-vringar:mozilla.orgvringar
In reply to @raitobezarius:matrix.org
Simply reboot in the LTS kernel and you should have ZFS I think?
Ahhh, my bad
Didn't consider that when choosing the installer image.
Thanks!
20:12:03
@toonn:matrix.orgtoonn Is unflake flake-compat on steroids? 23:12:51
28 Nov 2025
@yqrashawn:matrix.orgyqrashawn joined the room.00:35:31
@antifuchs:asf.computerantifuchsOh neat, unflake looks like fun, but way different from flake-compat. The latter tries to work with the flake as written; unflake looks like it rewrites your source tree04:43:00
@goldstein:tty5.devgoldstein flake-compat works with flake.lock, so it uses built-in resolver
unflake doesn’t interact with flake.lock at all. it resolves dependencies internally, unifies them and produces its own lockfile (or integrates with npins for locking)
11:04:01
@goldstein:tty5.devgoldsteinnot sure what do you mean by “rewrite your source tree”. the only files unflake writes is unflake.nix and (if npins integration is enabled) npins/sources.json11:04:30
@goldstein:tty5.devgoldstein* not sure what do you mean by “rewrites your source tree”. the only files unflake writes is unflake.nix and (if npins integration is enabled) npins/sources.json11:04:41
@toonn:matrix.orgtoonn So it ignores flake.lock altogether? 11:07:00
@goldstein:tty5.devgoldsteinyeah, it doesn’t read any flake.lock files11:07:34
@helle:tacobelllabs.nethelle (just a stray cat girl)distinctly both an upside and a downside I guess11:07:59
@goldstein:tty5.devgoldstein yeah, kinda
the big question is whether we actually need transitive dependency locking
I have a feeling that we don’t, and the ecosystem is so used to writing .follows that we actually already don’t really fully lock transitive dependencies, but we lose some reproducibility, obviously
11:09:59
@toonn:matrix.orgtoonn I recently ran into a flake that didn't have an accompanying flake.lock, flake-compat couldn't handle it. It supports only lockless flakes that don't have any inputs except for self, AFAIU. So unflake would've probably helped in that instance. 11:10:02
@helle:tacobelllabs.nethelle (just a stray cat girl)I mean I have some stuff that needs careful poking at when updating11:10:37
@goldstein:tty5.devgoldsteinyou still have top-level lockfile in any case (it’s just not called flake.lock) and you can upgrade individual dependencies with npins11:12:00
@helle:tacobelllabs.nethelle (just a stray cat girl)yeah, I am currently using npins for those, so it is not a huge worry for that11:12:31
@goldstein:tty5.devgoldsteinI’m planning on adding granular updates in unflake’s native lockfile too (so you don’t need npins for that; there’re some pain points with npins integration), but it’s not there yet11:13:51
@goldstein:tty5.devgoldstein* I’m planning on adding granular updates in unflake’s native lockfile too (so you wouldn’t need npins for that; there’re some pain points with npins integration), but it’s not there yet11:14:34
@jassu:kumma.juttu.asiaJassukoI've always felt that the flake locking concept is managed "wrong way around". I would like to specify a clear exception when something is brittle or broken and needs to lock into a specific nixpkgs or other dependency version instead of following the top-level nixpkgs choice. The default should be to follow the parent whenever possible. -_-11:22:27

Show newer messages


Back to Room ListRoom Version: 10