!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
@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
@aloisw:julia0815.dealoisw Generally yes, but I can't guarantee a specific turnaround time (probably less than 1 day though). 16:45:48
@aloisw:julia0815.dealoisw (Not to be understood in the "I will be slow" sense, but more like "please don't consider me paged in the middle of the night".) 16:49:17
@laurents:fsfe.orglaurents raitobezarius Ok, I think it's showable-ish. My code is at https://gitlab.com/madada-team/dada-core/-/tree/add-theme-flake?ref_type=heads. Running a nix develop --no-pure-eval (no pure eval because I use devenv) should show you the bug. 17:02:19
@raitobezarius:matrix.orgraitobezariusthx17:02:37
@raitobezarius:matrix.orgraitobezarius laurents: it uses a local path for alaveteli 17:33:47
@raitobezarius:matrix.orgraitobezariusdo you have a git ref or something?17:33:53
@raitobezarius:matrix.orgraitobezarius(sorry for the delay, my OS scheduler decided to look now)17:34:04
@laurents:fsfe.orglaurents sorry, I'm super confused, I was sure I had removed my local paths. is https://github.com/laurentS/alaveteli/blob/nix-devenv what you're after? (that's the nix stuff, but also the entire codebase for alaveteli) 17:51:47
@raitobezarius:matrix.orgraitobezariusi'm dumb17:52:02
@raitobezarius:matrix.orgraitobezariusi was on main17:52:04
@raitobezarius:matrix.orgraitobezariusgive me a sec17:52:14
@raitobezarius:matrix.orgraitobezarius(actually, give minutes)17:53:36
@raitobezarius:matrix.orgraitobezarius* (actually, give me minutes)17:53:40
@raitobezarius:matrix.orgraitobezarius laurents: the mistake in the lix code seems trivial at least 18:31:05
@raitobezarius:matrix.orgraitobezariussubmodules is supported only for git://18:31:12
@raitobezarius:matrix.orgraitobezariusnot for github://18:31:15
@raitobezarius:matrix.orgraitobezariuswhich… kinda makes sense?18:31:19

Show newer messages


Back to Room ListRoom Version: 10