!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
15 Sep 2025
@jade_:matrix.orgjade_i think that might be the most simple way07:51:27
@jade_:matrix.orgjade_this: https://android-review.googlesource.com/plugins/code-owners/Documentation/setup-guide.html#optOutBranches07:52:49
@jade_:matrix.orgjade_let me just Do That07:52:52
@jade_:matrix.orgjade_and then go to bed07:52:54
@jade_:matrix.orgjade_okay, that configuration has been yote07:57:50
@jade_:matrix.orgjade_codeowners should no longer hassle you on release branches07:58:05
@aloisw:julia0815.dealoisw
In reply to @jade_:matrix.org
right, the codeowners plugin is set up in our configuration to fail closed
That's not the entire problem as I understood it. Main branch has * as owners for meson.build but Marie didn't get any owners shown there.
14:39:06
@emilazy:matrix.orgemily

fyi lixStatic has linking issues on Darwin

Undefined symbols for architecture arm64:
  "_libiconv", referenced from:
      _psl_str_to_utf8lower in libpsl.a(libpsl_la-psl.o)
      _mem_cd_iconveh_internal in libunistring.a(libunistring_la-striconveh.o)
     (maybe you meant: __libiconv_version)
  "_libiconv_close", referenced from:
      _psl_str_to_utf8lower in libpsl.a(libpsl_la-psl.o)
      _libunistring_iconveh_open in libunistring.a(libunistring_la-striconveh.o)
      _libunistring_iconveh_close in libunistring.a(libunistring_la-striconveh.o)
  "_libiconv_open", referenced from:
      _psl_str_to_utf8lower in libpsl.a(libpsl_la-psl.o)
      _libunistring_iconveh_open in libunistring.a(libunistring_la-striconveh.o)
ld: symbol(s) not found for architecture arm64

not sure whether a Meson problem or a pkg-config files omitting -liconv on static problem

16:00:23
@laurents:fsfe.orglaurents joined the room.16:05:59
@qyriad:katesiria.orgQyriad I thought stdenv automatically handled iconv now…? 16:15:00
@qyriad:katesiria.orgQyriad hmm 16:15:02
@raitobezarius:matrix.orgraitobezarius I remember aloisw knew things about this, but I'm so out of my depth on this topic 16:17:23
@laurents:fsfe.orglaurents Hello! I am packaging a service for nixos, and I just hit https://git.lix.systems/lix-project/lix/issues/970 which completely prevents me from moving forward. (short of spending weeks trying to convince the upstream team to get rid of submodules) So I thought I'd try to fix that bug in lix. I write code for a living, but not C/C++, and I'm far from being a nix guru. Any thoughts on how unconscious it is of me to want to tackle it? 16:17:56
@qyriad:katesiria.orgQyriad if no one has figured it out by Friday make an issue and assign it to usyo 16:18:05
@qyriad:katesiria.orgQyriad
In reply to @laurents:fsfe.org
Hello! I am packaging a service for nixos, and I just hit https://git.lix.systems/lix-project/lix/issues/970 which completely prevents me from moving forward. (short of spending weeks trying to convince the upstream team to get rid of submodules) So I thought I'd try to fix that bug in lix. I write code for a living, but not C/C++, and I'm far from being a nix guru. Any thoughts on how unconscious it is of me to want to tackle it?
wait, why do you need self submodules for an upstream repo?
16:19:14
@raitobezarius:matrix.orgraitobezariusI suppose it's an upstream repo that contains a flake.nix which use self submodules implicitly16:20:14
@qyriad:katesiria.orgQyriad I'd probably see if you can just consume the upstream repo with flake = false 16:21:29
@raitobezarius:matrix.orgraitobezariusIf you do that, you won't pull any relevant submodules, will you?16:21:52
@laurents:fsfe.orglaurents

it's a bit convoluted:

  • the app itself is a rails app, and I am packaging that with a flake. the app uses git submodules, so I managed to make it work with self.submodules = true in the flake
  • I have a separate flake to configure a server which uses that app. So I use flake1 as an input here. and this is where I get stuck
16:22:10
@k900:0upti.meK900 Just use fetchFromGitHub or similar with fetchSubmodules = true 16:22:49
@k900:0upti.meK900Instead of another flake16:22:52
@qyriad:katesiria.orgQyriad yeah recentl 16:23:42
@qyriad:katesiria.orgQyriad * yeah exactly 16:23:48
@raitobezarius:matrix.orgraitobezarius laurents: if you want, I can help you take a look at how to get rid of self submodules and look at your packaging; otherwise, we can work together how to fix flake-self-attrs 16:24:39
@laurents:fsfe.orglaurents my problem is that the app (https://github.com/mysociety/alaveteli/ for context) requires a fairly complex localization to work, it's a "theme" which customises a number of things, including by overriding some of the ruby code. so I need to inject stuff in the upstream, I can't just pull the built package 16:24:46
@raitobezarius:matrix.orgraitobezariusDo you have pointers to the various repositories with flake.nix and so on?16:25:16
@raitobezarius:matrix.orgraitobezariusWith a reproducer recipe so we can test on our end16:25:22
@laurents:fsfe.orglaurentsok, let me push my code and I'll come back here in a moment16:26:52
@emilazy:matrix.orgemily aloisw: will you be up for rebasing https://github.com/NixOS/nixpkgs/pull/434186 after the toml11 bump? 16:26:55
@aloisw:julia0815.dealoisw I am aware of the static Darwin breakage but don't know what causes it. The Darwin stuff I did for the prelinking change was pretty much strictly about not breaking dynamic linkage. 16:44:33

Show newer messages


Back to Room ListRoom Version: 10