!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

423 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.140 Servers

Load older messages


SenderMessageTime
23 Mar 2026
@blokyk:matrix.orgzoë (she/her) *

(i am somewhat reminded of the line i saw in last month's core team meting:

We wonder if we should have more boring people in our project

and seeing everyone's very interesting ideas compared to just the "nix is fun :D functional programming is fun :D if only haskell $ operator tho :( and also not cursed :((" idea i have definitely makes me kinda resonate with that line (which, yeah i am objectively a pretty boring person) x)

23:23:43
@blokyk:matrix.orgzoë (she/her) * with all that said, i still do have a question: should it be tagged E/Easy (with the notes from this discussion) and left to be first-time/drive-by contributed? it's not very urgent, and though it doesn't go into the c++ part of the codebase like most other changes will require, i still think it can be a good exercise, especially if combined with some tests 23:38:22
24 Mar 2026
@blokyk:matrix.orgzoë (she/her) *

(i am somewhat reminded of the line i saw in last month's core team meting:

We wonder if we should have more boring people in our project

and seeing everyone's very interesting ideas compared to just the "nix is fun :D functional programming is fun :D if only haskell $ operator tho :( and also not cursed :((" idea i have definitely makes me kinda resonate with that line (which, yeah i am objectively a pretty boring person, and i'm trying to believe that's okay) x)

00:20:16
@blokyk:matrix.orgzoë (she/her)alright i tried to sum it up based on what i understood, but i'm not very confident in that, don't hesitate to tell me if i misinterpreted/misunderstood/misframed something00:23:59
@blokyk:matrix.orgzoë (she/her) * alright i tried to sum it up based on what i understood, but i'm not very confident in that, don't hesitate to tell me if i misinterpreted/misunderstood/misframed something 00:34:19
@raitobezarius:matrix.orgraitobezariuslgtm05:35:46
@helle:tacobelllabs.nethelle (just a stray cat girl) The idea of technical debt collector comes to mind, anyway. 08:43:39
@delroth:delroth.netdelrothit's an stdlib problem more than a C++ problem, most large C++ codebases at the time were using a Result type in 2005, it's just that that knowledge wasn't widespread yet or too publicly available through libraries10:25:06
@piegames:flausch.socialpiegamesGranted, but still sum types in C++ are a lot less ergonomic than they could be10:26:04
@delroth:delroth.netdelrothyes, but you don't need full sum types capability for a Result type, you basically need the "?" operator10:26:56
@delroth:delroth.netdelroth* yes, but you don't need full sum types capability for a Result type, you basically need the "?" operator / syntax sugar10:27:22
* @delroth:delroth.netdelroth has written way too much code with ASSIGN_VALUE_OR_RETURN and util::StatusOr which dates back to ~2003... 10:28:31
* @delroth:delroth.netdelroth * has written way too much code with ASSIGN_OR_RETURN and util::StatusOr which dates back to ~2003... 10:28:56
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& changed their profile picture.12:15:06
@shalokshalom:kde.orgShalokShalomWhy C++ to implement a purely functional language at any point?16:01:45
@piegames:flausch.socialpiegamesWhat does the one have to do with the other16:17:19
25 Mar 2026
@lisanna-dettwyler:matrix.orgLisannaIs it just me or does Lix compile faster than ccpnix?16:41:17
@lisanna-dettwyler:matrix.orgLisanna* Is it just me or does Lix compile faster than cppnix?16:41:28
@qyriad:katesiria.orgQyriadI haven't compiled cppnix in a while, but I'm not all that surprised. jade in particular put some effort at the start in reducing compile times, and cppnix also made their meson buildsystem more complicated because they wanted to separate it into multiple derivations16:51:29
@lisanna-dettwyler:matrix.orgLisannayeah I am really sad about the multiple derivation thing, idk what value it really adds and it makes overriding things hell16:56:34
@lisanna-dettwyler:matrix.orgLisanna(see: https://gist.github.com/lisanna-dettwyler/ba37119993618314891d5afd79a8cf5e)16:56:50
@qyriad:katesiria.orgQyriad
In reply to @lisanna-dettwyler:matrix.org
yeah I am really sad about the multiple derivation thing, idk what value it really adds and it makes overriding things hell
the motivation is to be able to re-run derivation tests, like the NixOS VM tests, with faster compile times if you only changed one library. theoretically
17:03:19
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @lisanna-dettwyler:matrix.org
Is it just me or does Lix compile faster than cppnix?
FWIW I picked jade’s awesome changes. Make sure to use clang
17:16:46
26 Mar 2026
@aloisw:kde.orgaloisw raitobezariusdo you know for sure now that the SQLite changes you linked in the Zulip thread make things better? 17:42:31
@raitobezarius:matrix.orgraitobezariusi'm really sorry, i don't know yet17:43:10
@raitobezarius:matrix.orgraitobezariusit's somewhere on my todolist to apply to the CI of AFNix globally17:43:19
@aloisw:kde.orgaloiswNo problem, your statement just sounded rather authoritative to me.17:45:09
@raitobezarius:matrix.orgraitobezariusyou're right, i should have made expectations clearer this is untested17:46:14
@raitobezarius:matrix.orgraitobezarius but also, i wanted to communicate there are tools we did not fully explore yet that can act on SQLite 17:46:27
@winter:catgirl.cloudWinter i love cppnix and lix fighting over flake lockfiles:

diff --git a/nix/flake.lock b/nix/flake.lock
index 1da808bbd1..dd4c77ea33 100644
--- a/nix/flake.lock
+++ b/nix/flake.lock
@@ -44,13 +44,13 @@
         "rev": "c2520574da83f8e7de1d781ec64d8722c75a515d",
         "revCount": 427,
         "type": "git",
-        "url": "https://github.com/hegeldev/hegel-core?dir=nix"
+        "url": "https://github.com/hegeldev/hegel-core"
       },
       "original": {
         "dir": "nix",
         "ref": "refs/tags/v0.2.3",
         "type": "git",
-        "url": "https://github.com/hegeldev/hegel-core?dir=nix"
+        "url": "https://github.com/hegeldev/hegel-core"
       }
     },
     "nixpkgs": {

i imagine this is cppnix's fault as the ?dir=... only gets added in newer versions (>2.28 or so) and lix keeps trying to delete it, probably to maintain proper compatibility, but wow this is annoying.

@Sergei Zimmerman (xokdvium) is this a valid bug report for y'all or am i going to tear my hair out ad infinitum?

(posting here instead of #Nix Package Manager development bc idk it feels like the better of the two options lol)
18:16:34

Show newer messages


Back to Room ListRoom Version: 10