| 18 Oct 2025 |
| neobrain joined the room. | 10:29:48 |
FireFly | TIL about forbiddenDependenciesRegex, interesting | 11:10:14 |
FireFly | * TIL about forbiddenDependenciesRegexes, interesting | 11:10:20 |
522 it/its ⛯ΘΔ | forbiddenDependenciesRegexes: .* no more nix | 11:13:30 |
antifuchs | Hyperindividualist software development like | 11:46:48 |
Unawarewolf | Just wanna say: I really love the vibe here!! most cozy linux channel!!!!!! | 12:05:40 |
QuadRadical (Ping) | @raitobezarius is there anything i can do to look into this myself, or circumvent it (can i turn on the nix sandbox on the vps?) | 16:10:31 |
antifuchs | so wait, if I wanted to see if a system targets a particular CPU (e.g. x86-64), what would I do? I tried lib.meta.platformMatch lib.systems.inspect.patterns.isAarch64 "aarch64-linux" which unfortunately indicates false. | 17:19:16 |
antifuchs | flakes insisting on purity and static platform selection but giving you zero tools to apply that... ): | 17:20:38 |
Katalin 🔪 | (lib.systems.elaborate "aarch64-linux").isAarch64 | 17:30:03 |
antifuchs | oh wow, I've never seen that one before. super useful, thanks! | 18:36:41 |
| @abaris99f:matrix.org set a profile picture. | 21:30:39 |
| Devon joined the room. | 22:58:01 |
| 19 Oct 2025 |
| wucke13 joined the room. | 11:06:34 |
wucke13 | Is this a place where I may ask questions about using Lix? | 11:07:12 |
Marie | yes | 11:07:57 |
K900 | Yes | 11:13:38 |
wucke13 | I'm trying to migrate from the dedicated Lix module to the nixpkgs built-in Lix. IIUC, the manual recommends this:
nixpkgs.overlays = [
(final: prev: {
inherit (prev.lixPackageSets.stable)
nixpkgs-review
nix-eval-jobs
nix-fast-build
colmena
;
})
];
nix.package = pkgs.lixPackageSets.stable.lix;
However, that throws an infinite recursion for nixpkgs-review. I do have a couple more overlays, but they are not interacting with nixpkgs-review in any obvious way.
What could be the culprit, how to debug?
| 11:13:55 |
wucke13 | So, a bit more tinkering revealed that most but not all of the overrides cause the issue:
- nixpkgs-review: causes infinite recursion
- nix-eval-jobs: No problem
- nix-fast-build: causes infinite recursion
- colmena: causes infinite recursion
Here is a minimal repro for playing:
{ pkgs, ... }:
{
nixpkgs.hostPlatform = "x86_64-linux";
# TODO debug why this yields infinite recursion
nixpkgs.overlays = [
(final: prev: {
inherit (prev.lixPackageSets.stable)
nixpkgs-review
nix-eval-jobs
nix-fast-build
colmena
;
})
];
nix.package = pkgs.lixPackageSets.stable.lix;
environment.systemPackages = with pkgs; [
nixpkgs-review
nix-eval-jobs
nix-fast-build
colmena
];
boot.isContainer = true;
fileSystems."/".fsType = "tmpfs";
}
| 11:41:27 |
just1602 | I don't think you need to do an overlay, I think you can take them directly from the lix package sets `lixPackageSets.latest.colmena` | 11:52:25 |
wucke13 | just1602 That works without doubt, of course. But I would expect the mechanism advertised on https://lix.systems/add-to-config/ to work, too. And of course having the overlay is a bit more convenient. | 12:33:59 |
just1602 | In reply to @wucke13:matrix.org just1602 That works without doubt, of course. But I would expect the mechanism advertised on https://lix.systems/add-to-config/ to work, too. And of course having the overlay is a bit more convenient. Sorry about that, I didn't saw the website update that push this new way of doing things. | 12:46:38 |
wucke13 | No worries, kind stranger; your suggestion was enough to nudge me to the "Simplest change" for now. Still I'm curious about the "Advanced change" eventually 😄 | 12:48:17 |
helle (just a stray cat girl) | random consideration, would it make sense to add some parameters to nix log (and related) so it is easier to wrangle it to a file, specify explicitely if it should use a pager and such niceties
or is this too much polishing a 💩, while the ways of handling this with normal unix tricks makes sense to most | 13:23:55 |
K900 | It should respect isatty I'm pretty sure? | 13:33:01 |
helle (just a stray cat girl) | it does, but that requires a shell to redirect or some other piping (do not ask why this is a thing we ran into briefly) | 13:34:59 |
| tiferrei joined the room. | 15:28:45 |
| @tiferrei:matrix.org left the room. | 15:29:40 |
Whovian9369 | Does Lix support the lfs input attribute? I'm trying to follow https://github.com/Gigahawk/sarugetchu_mm_patcher/blob/master/README.md#usage but Lix doesn't seem to support them.
$ nix build -L --refresh 'git+https://github.com/Gigahawk/sarugetchu_mm_patcher.git?lfs=1#iso-patched'
error: unsupported input attribute 'lfs' for the 'git' scheme
| 23:15:00 |
| 20 Oct 2025 |
| lavender.pet changed their profile picture. | 04:06:21 |