!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

215 Members
69 Servers

Load older messages


SenderMessageTime
3 Dec 2025
* @qyriad:katesiria.orgQyriad cries in rustc bootstrap20:33:01
@pyrox:pyrox.devdish [Fox/It/She]I would like to get the current pt 1 PR I made merged, then your improvements to i686/x64/riscv, then my statics, then migrate bootstrap-files to minimal-bootstrap for supported arches20:34:00
@pyrox:pyrox.devdish [Fox/It/She]last part is the most complicated and one I'd need the most help with since stdenv is... annoying20:34:27
@helle:tacobelllabs.nethelle (just a stray cat girl)I mean I may just end up maintaining some of these extremely long bootstraps, because I see value in them, but yeah, they are a mess and sloooow20:35:18
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @qyriad:katesiria.org
cries in rustc bootstrap
oof yeah
20:36:34
@pyrox:pyrox.devdish [Fox/It/She]mrustc needs to keep up for rustc bootstrap to be even partially viable20:36:55
@pyrox:pyrox.devdish [Fox/It/She]* mrustc needs to keep up for rustc bootstrap to be even somewhat viable20:37:08
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @helle:tacobelllabs.net
I mean I may just end up maintaining some of these extremely long bootstraps, because I see value in them, but yeah, they are a mess and sloooow
oh yeah there is 100% value in it
20:37:26
@pyrox:pyrox.devdish [Fox/It/She]but atm I would rather have an imperfect bootstrap be used than a perfect bootstrap that never gets merged20:37:53
@pyrox:pyrox.devdish [Fox/It/She]then we can improve it over time20:37:59
@pyrox:pyrox.devdish [Fox/It/She]~~which would involve a lot of mass rebuilds but if we can do it in big sets and also maybe get a hydra jobset then its more reasonable~~20:38:38
@helle:tacobelllabs.nethelle (just a stray cat girl)oh yeah, part of ours is intentionally not going to get merged any time soon over this20:39:01
@aleksi:pikaviestin.fialeksi

Definitely agreed

21:45:44
@pyrox:pyrox.devdish [Fox/It/She] question about your patches, is there anything in them that would be useful to improve i686 bootstrap? or is it just improvements for x86_64/rv64? 21:57:00
@pyrox:pyrox.devdish [Fox/It/She]just trying to understand the scope of the patchset relative to if I want to take any changes into my existing upgrade branch21:57:14
@qyliss:fairydust.spaceAlyssa Ross We have runInLinuxVM! 22:04:11
@aleksi:pikaviestin.fialeksi

Hmm, yeah there might be little things:

  • GCC v8 upgraded to v10 (for better RV64 backend, mostly, but can be good for i686)
  • bash 5.2 to 5.2.37, which fixes the strtoimax issue
  • fixed egrep, the makefile from live-bootstrap is wrong
  • fixed strncasecmp in heirloom stubs, the old implementation can segfault if you give it a string literal as an argument, which heirloom does
22:04:21
@rosscomputerguy:matrix.orgTristan RossWould be cursed to wrap everything in that22:04:54
@aleksi:pikaviestin.fialeksi

Actually I see a bug in my own strncasecmp now, when the strings have different lengths, I will have to fix that

22:04:55
@aleksi:pikaviestin.fialeksi

Oh, and I think the printf patches in mes/libs.nix can affect i686

22:07:00
4 Dec 2025
@grqp:matrix.orgGrqP joined the room.03:15:52
@grqp:matrix.orgGrqPIs this the right channel to ask newb questions about makeWrapper and setup hooks?03:18:15
@rosssmyth:matrix.orgrosssmythDon't ask to ask04:38:45
@rosssmyth:matrix.orgrosssmythjust ask04:38:47
@grqp:matrix.orgGrqP

I'm trying to figure out how to navigate the sources to determine where wrapProgram, makeWrapper are populated. I can see in github the shell script, and that pkgs.makeWrapper copies to setup-hook, but can't find who calls makeSetupHook to trigger that.

Is there a fast way to figure this out without grepping the repo directly?

04:54:53
@winter:catgirl.cloudWinter

grep, tbh… or something like builtins.unsafeGetAttrPos "makeWrapper" pkgs

nonetheless. https://github.com/NixOS/nixpkgs/blob/821f1a2ebab0f13d6d65170d6bd7d2b3a182efdb/pkgs/top-level/all-packages.nix#L728

05:19:23
@winter:catgirl.cloudWinter *

grep, tbh… or something like builtins.unsafeGetAttrPos "makeWrapper" pkgs

nonetheless: https://github.com/NixOS/nixpkgs/blob/821f1a2ebab0f13d6d65170d6bd7d2b3a182efdb/pkgs/top-level/all-packages.nix#L728

05:19:30
@grqp:matrix.orgGrqPI forgot about unsafeGetAttrPos. I thought nix repl :e would get me there but not so much.05:24:55
@winter:catgirl.cloudWinter :doc miiiight 05:47:08
@winter:catgirl.cloudWinterbut i forget if upstream nix has this05:47:17

There are no newer messages yet.


Back to Room ListRoom Version: 9