!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
23 Jul 2025
@saiko:knifepoint.netKatalin 🔪
In reply to @raitobezarius:matrix.org
Katalin 🔪 a while ago, you sent us cl/3081 (thank you for that!), sterni just sent us https://gerrit.lix.systems/c/lix/+/3731, the change are very similar ; for now, I assume that we won't need an approach that perform explicit compilation detection, so I'm leaning on proceeding with sterni's change, do you have any opinion on this?
yeah, version check should be fine in practice, I personally prefer compile checks where possible because they’re technically more accurate but it doesn’t really matter. go ahead!
15:20:54
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)thank you so much!15:21:03
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)yeah, we should revisit this as soon as compile checks are necessary15:21:12
@just1602:systemli.orgjust1602

raitobezarius: https://github.com/NixOS/nixpkgs/pull/427807

I don't know if there's anything else to do. After doing those change I ran

cd pkgs/tools/package-management/lix
nix-build --impure -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'

There might be better way to test that to make sure the build is working properly, tho

17:12:29
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)there's like nixosTests.misc.lix iirc17:12:44
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)you can run a test on that17:12:47
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @just1602:systemli.org

raitobezarius: https://github.com/NixOS/nixpkgs/pull/427807

I don't know if there's anything else to do. After doing those change I ran

cd pkgs/tools/package-management/lix
nix-build --impure -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'

There might be better way to test that to make sure the build is working properly, tho

also if you can take a look in the git history
17:20:43
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)you will find the commit syntax we use for these bumps17:20:50
24 Jul 2025
@janne.hess:helsinki-systems.deJanne Heß joined the room.12:05:56
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/42807614:49:31
@just1602:systemli.orgjust1602How incompatible is lix with nix 2.24?15:13:22
@k900:0upti.meK900Not really?15:14:28
@k900:0upti.meK900Why?15:14:31
@just1602:systemli.orgjust1602Just to understand how this nixpkgs minver change is gonna be a mess.: D15:16:03
@just1602:systemli.orgjust1602* Just to understand how this nixpkgs minver change is gonna be a mess. :D15:16:23
@emilazy:matrix.orgemilythe PR title is inaccurate15:16:26
@emilazy:matrix.orgemilyit bumps to 2.18, which Lix forked from15:16:30
@emilazy:matrix.orgemilyand runs the checks that were done against 2.3 against Lix instead15:16:45
@emilazy:matrix.orgemilyso it should be no problem for Lix (or slightly better even)15:17:01
@emilazy:matrix.orgemilyhowever I believe Tvix/Snix are still targeting 2.3 so who knows what will happen15:17:27
@just1602:systemli.orgjust1602
In reply to @emilazy:matrix.org
however I believe Tvix/Snix are still targeting 2.3 so who knows what will happen
I'm wondering if they could start to target lix 😅
16:22:11
@Ericson2314:matrix.orgJohn Ericsonhttps://github.com/NixOS/nix/issues/13544 do you all do this yet by any chance?19:12:25
@emilazy:matrix.orgemilyit's technically a compat break19:46:01
@emilazy:matrix.orgemilysince it changes hashes19:46:04
@emilazy:matrix.orgemilywhat is SHA-1 even used for at this point? seems like it'd be better to try phasing it out? I assume nothing in Nixpkgs is pinned by SHA-119:46:20
@emilazy:matrix.orgemilywell, actually, for Git they just run it in checking mode and abort if a potentially-colliding input is detected19:46:47
@emilazy:matrix.orgemilywhich is still a compat break, but at least not silent hash changing19:46:52
@emilazy:matrix.orgemily if it's for Git revs then you want to be doing that but I assume libgit2/git(1) will already handle the hashing there 19:47:08
@emilazy:matrix.orgemily
pkgs/servers/mx-puppet-discord/node-packages.nix
111:        sha1 = "532e01241dbcb0f2769f1b9a7cde313d30101173";
120:        sha1 = "68018cab4f59834b3fef2e59fbfd52938403e001";
129:        sha1 = "52b0e8bb808a1202602899af67939b049dd42402";
138:        sha1 = "0a37a3f9430ff7c29512d29882e25ae738a31283";

🫣

19:49:51
@emilazy:matrix.orgemilyapparently these are the only SHA-1 pins left in Nixpkgs19:49:55

Show newer messages


Back to Room ListRoom Version: 10