!9IQChSjwSHXPPWTa:lix.systems

Lix

807 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-rooms234 Servers

Load older messages


SenderMessageTime
25 Feb 2025
@raitobezarius:matrix.orgraitobezarius
In reply to @acidbong:envs.net
evening, fellers and felines, i'm back with my CI struggles
this Sunday I updated nixpkgs, and Lix (i'm backporting a patch) failed to build in CI (Codeberg's Woodpecker), but it built successfully on my PC. what could be the reason?

latest successful log: https://ci.codeberg.org/repos/14075/pipeline/19/9
the failed one: https://ci.codeberg.org/repos/14075/pipeline/34/6
looks flakey, did you try again?
00:06:01
@federicodschonborn:matrix.orgLeg O'Worm changed their profile picture.01:33:22
@acidbong:envs.netAcid Bong

@raitobezarius:matrix.org i did, pipeline 34 is the restarted 32 (which also failed the same way), click on the repo name to see them

and on the third try (pipeline 35: I just changed pkgs/default.nix, but not radically) instead of failing another test just timed out (Codeberg's Woodpecker runner is really slow)

05:29:34
@kueckieben:matrix.hybridlehrer.deKücki Eben left the room.09:06:50
@neolumine:matrix.org@neolumine:matrix.org left the room.14:29:27
@charles:computer.surgeryCharles how bad is the concept of NIX_PATH really? 19:43:14
@raitobezarius:matrix.orgraitobezariusIt's just an environmental impurity but it doesn't shock me20:01:29
@arianvp:matrix.orgArian

ive put

NIX_PATH=nixpkgs=https://channels.nixos.org/<exact-tarball-here>

in .envrc before as a quick way to share a locked nixpkgs in repos

20:02:58
@lily:lily.flowersLily Foster what about how order of stuff in NIX_PATH can be signficant depending on names 20:03:26
@validitymaiden:matrix.orgvaliditymaiden When using Lix in NixOS by way of /etc/nixos/configuration.nix, is specifying a version of Lix necessary? Is there a way to just use whatever is current? 20:04:01
@k900:0upti.meK900 nix.package = pkgs.lix will give you usually latest 20:05:15
@just1602:systemli.orgjust1602
In reply to @validitymaiden:matrix.org
When using Lix in NixOS by way of /etc/nixos/configuration.nix, is specifying a version of Lix necessary? Is there a way to just use whatever is current?
If you want to use the module you need to specify the version because there's still work to do to have a stable branch or tag always pointing to the latest stable version
20:06:26
@r522:matrix.org522 wait, what's the stable branch for then? 20:08:32
@validitymaiden:matrix.orgvaliditymaidenthat worked much easier, thank you 💜20:12:49
@just1602:systemli.orgjust1602 From what I see on git.lix.systems, there's no stable branch 20:59:19
@r522:matrix.org522https://git.lix.systems/lix-project/nixos-module/src/branch/stable20:59:43
@r522:matrix.org522for the module there is20:59:47
@just1602:systemli.orgjust1602Oh don't know, maybe it was added ! :o21:07:19
@kfears:matrix.orgKFears (no longer human)
In reply to @charles:computer.surgery
how bad is the concept of NIX_PATH really?
The concept? I think it's alright, though not optimal and somewhat outdated. I'd much rather have a hardcoded default entrypoint that can be overridden with args. Env vars are a lot less controllable and granular
22:37:38
@charles:computer.surgeryCharlesAnother problem is that it's annoying to bootstrap if your config sets it and also depends on it22:43:12
@kfears:matrix.orgKFears (no longer human)Yes, very very much23:16:19
@kfears:matrix.orgKFears (no longer human) I think the lesson to be learned is that /bin/sh-style of approach is good and working 23:17:17
@kfears:matrix.orgKFears (no longer human)You use one hardcoded, well-known location, and then you solve for cased when you desire anything else23:18:08
@kfears:matrix.orgKFears (no longer human) NIX_PATH is more similar to Bash impurity 23:18:23
26 Feb 2025
@koutensky:matrix.nesad.fit.vutbr.czMichal Koutenský joined the room.00:00:27
@crop_tech:matrix.orgcrop
In reply to @r522:matrix.org
https://git.lix.systems/lix-project/nixos-module/src/branch/stable

Using the module in your configuration makes sense so that tools depending on nix also use lix. The shortcut k900 mentioned is to use lix from nixpkgs. Which also makes sense to me as a user. I use the module with nixpkgs lix.

If one wants to use lix releases from source then one needs to change the branch for every release (currently).

00:10:58
@charles:computer.surgeryCharles it's sad that formal arguments (i.e. { foo, bar, ...}: ... syntax) can't use arbitrary strings as argument names 00:33:43
@charles:computer.surgeryCharles okay i made https://gitlab.computer.surgery/charles/sprinkles/-/issues/1 about pros/cons between NIX_PATH and formal arguments and i think the latter is the better option 01:26:00
@raitobezarius:matrix.orgraitobezarius
In reply to @charles:computer.surgery
okay i made https://gitlab.computer.surgery/charles/sprinkles/-/issues/1 about pros/cons between NIX_PATH and formal arguments and i think the latter is the better option
I don't agree with the cons of option 1
01:56:09
@raitobezarius:matrix.orgraitobezariusManipulating NIX_PATH in local shells is an option01:56:31

Show newer messages


Back to Room ListRoom Version: 10