!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
31 Aug 2025
@emilazy:matrix.orgemilymaybe.16:34:58
@emilazy:matrix.orgemilybut builtin fetchers are just sort of dodgy for strict purity in general I suppose16:36:12
@aloisw:julia0815.dealoiswThat's indeed something that can be used for breaking purity too, by possibly being dependent on the repository configuration.16:37:09
@emilazy:matrix.orgemilyI was thinking just forging an object and hoping nobody is checking the hash16:43:33
@aloisw:julia0815.dealoiswI would hope Git would check the hash on clone but indeed I don't know for sure.16:46:47
@emilazy:matrix.orgemily I thought libgit2 was involved somewhere. 17:41:15
@emilazy:matrix.orgemily(maybe not in Lix?)17:41:19
@emilazy:matrix.orgemily (but hopefully libgit2 does. but I think some of this stuff may be configuration-tweakable.) 17:41:32
@emilazy:matrix.orgemily * (but hopefully libgit2 does too. but I think some of this stuff may be configuration-tweakable.) 17:41:37
@aloisw:julia0815.dealoiswNot in Lix, it was one of the regression-causing things in 2.20 that was not backported.17:41:38
@emilazy:matrix.orgemily libgit2 is awful anyway, so good decision. 17:42:12
@emilazy:matrix.orgemily we replaced libgit2 fetches/clones with shelling out to git(1) in Jujutsu and it's 100× better. 17:42:30
@aloisw:julia0815.dealoiswYeah shelling out to the command seems to be the only way to do git properly. So many bugs and limitations with libgit2.17:43:27
@emilazy:matrix.orgemilygitoxide is pretty good (if you're using Rust, and the API is kind of baroque in the "Rust that is really enthusiastic about never copying or heap-allocating anything it doesn't have to so the error types are a deeply-nested pain and sometimes the lifetimes make it awkward to do what you want" sort of way). but it doesn't do pushes17:46:42
@helle:tacobelllabs.nethelle (just a stray cat girl)libgit2 is a mess and we are not going to do it17:46:52
@emilazy:matrix.orgemilyit does clones though, so potentially good enough for Nix purposes17:46:54
@emilazy:matrix.orgemily(but of course not relevant when everything is still C++)17:47:04
1 Sep 2025
@piegames:flausch.socialpiegames Okay, so in a pure shell it already fails on just build: ninja: error: '/nix/store/iyh7nfcs7f249fzrbavqgxzwiy0z7xii-lowdown-1.3.2-lib/lib/liblowdown.so', needed by 'lix/libcmd/liblixcmd.so', missing and no known rule to make it. Looks like a missing dependency in our dev shell somewhere, can somebody maybe try to reproduce? 05:54:02
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @piegames:flausch.social
Okay, so in a pure shell it already fails on just build: ninja: error: '/nix/store/iyh7nfcs7f249fzrbavqgxzwiy0z7xii-lowdown-1.3.2-lib/lib/liblowdown.so', needed by 'lix/libcmd/liblixcmd.so', missing and no known rule to make it. Looks like a missing dependency in our dev shell somewhere, can somebody maybe try to reproduce?
Wasn’t lowdown bumped to 2.0.4 at some point? IIRC that was a packaging override
07:53:47
@lt1379:matrix.org@lt1379:matrix.org changed their display name from lun to Lun.15:55:14
@coded:auxolotl.orgSamuel Shuert changed their profile picture.20:39:06
3 Sep 2025
@piegames:flausch.socialpiegames

Weird, now it does setup but fails with related compilation errors

../lix/libcmd/markdown.cc:72:10: error: field designator 'cols' does not refer to any field in type 'struct lowdown_opts'
   72 |         .cols = lowdown_cols,
      |         ~^~~~~~~~~~~~~~~~~~~
../lix/libcmd/markdown.cc:73:10: error: field designator 'hmargin' does not refer to any field in type 'struct lowdown_opts'
   73 |         .hmargin = 0,
      |         ~^~~~~~~~~~~
../lix/libcmd/markdown.cc:74:10: error: field designator 'vmargin' does not refer to any field in type 'struct lowdown_opts'
   74 |         .vmargin = 0,
      |         ~^~~~~~~~~~~
3 errors generated.
07:08:41
@piegames:flausch.socialpiegames Before I go file an issue, can someone please try to build latest main within a /run/current-system/sw/bin/nix-shell --pure environment? 07:09:12
@ghpzin:envs.netghpzin joined the room.07:36:22
@aloisw:julia0815.dealoiswCan't reproduce. Are you running from a fresh build directory?16:07:29
@jade_:matrix.orgjade_yeah iirc i fixed this by deleting a build directory17:54:19
4 Sep 2025
@helle:tacobelllabs.nethelle (just a stray cat girl)yes, that is a reused build directory problem04:30:37
@piegames:flausch.socialpiegamesOkay, thanks04:54:20
@n30w:matrix.orgn30w joined the room.13:42:15
5 Sep 2025
@thedragon44:matrix.org@thedragon44:matrix.org joined the room.09:49:26

Show newer messages


Back to Room ListRoom Version: 10