!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

228 Members
75 Servers

Load older messages


SenderMessageTime
3 Dec 2025
@aleksi:pikaviestin.fialeksiThere are some assorted little patches besides that19:14:38
@pyrox:pyrox.devdish [Fox/It/She]those are some nice patches, will look at that soon19:18:49
@pyrox:pyrox.devdish [Fox/It/She]definitely appreciate the work that aux foundation has done on bootstrapping properly19:19:03
@aleksi:pikaviestin.fialeksiThanks, no problem19:23:25
@aleksi:pikaviestin.fialeksiI see live-bootstrap people have also bootstrapped autotools to prevent relying on autogenerated configure scripts. I don't know if nixpkgs wants or needs that though19:24:13
@grimmauld:m.grimmauld.deGrimmauld (any/all)i wish we had proper hooks to remove all autogenerated files ahead of builds. Like, test binaries (xz backdoor), but also autotools artifacts. We currently don't really do that...19:26:58
@helle:tacobelllabs.nethelle (just a stray cat girl)I mean I complain already about downloading binaries when we can build from source for things19:27:44
@helle:tacobelllabs.nethelle (just a stray cat girl)"but there is no build system in the source" and it turns out Debian has already made a perfectly adequate build system for it19:28:20
@qyriad:katesiria.orgQyriad heck autoreconfHook isn't in default stdenv but running ./configure is 19:30:01
@grimmauld:m.grimmauld.deGrimmauld (any/all)yes19:30:19
@grimmauld:m.grimmauld.deGrimmauld (any/all)its a mess19:30:22
@grimmauld:m.grimmauld.deGrimmauld (any/all) I would like find . -type f -executable -exec rm {} \; as an early build step... 19:32:18
@grimmauld:m.grimmauld.deGrimmauld (any/all)(more care would be needed, because some projects have the permission bits on files they later install. But still, nothing of the source should start out executable.)19:33:27
@helle:tacobelllabs.nethelle (just a stray cat girl)one of my reasons for annoyance is, we know that what is in nixpkgs is consistent across builders, but the optimisation of knowing what is in it in the first place would be nicer still19:34:25
@grimmauld:m.grimmauld.deGrimmauld (any/all)we do have some dumb impurities in nix though19:35:23
@grimmauld:m.grimmauld.deGrimmauld (any/all)like, it makes a difference whether builder is running hardened kernel or not for things like asan and valgrind19:35:44
@grimmauld:m.grimmauld.deGrimmauld (any/all)* like, it makes a difference whether builder is running hardened kernel or not for things like asan and valgrind being invoked in tests19:35:51
@rosscomputerguy:matrix.orgTristan RossOr page sizes of your host can affect what binaries can run19:45:46
@rosscomputerguy:matrix.orgTristan RossI think if nix had a built in microVM, it would help with a lot of the impurities19:46:22
@helle:tacobelllabs.nethelle (just a stray cat girl) (can someone figure out a Haskell bootstrap or am I going to have to do it myself) 20:01:36
@opna2608:matrix.orgPunayou mean from stdenv to modern GHC without fetching prebuilt GHCs?20:03:01
@helle:tacobelllabs.nethelle (just a stray cat girl)mhmhm20:03:08
@helle:tacobelllabs.nethelle (just a stray cat girl)btw, we have investigated the underlying issue and we know EXACTLY the potential starting points, but ooof, it is one chore20:03:32
@helle:tacobelllabs.nethelle (just a stray cat girl)* btw, we have investigated the underlying issue and we know EXACTLY the potential starting points, but ooof, it is one hell of a chore20:04:24
@opna2608:matrix.orgPuna

https://github.com/NixOS/nixpkgs/pull/460845

Unlike the previous version, all new versions are built entirely from source by using Hugs to interpret the microhs source code.
cpphs was also booted from source in a similar way.

The goal is to allow Nixpkgs users to more easily experiment with using microhs, and perhaps one day boot GHC from source.

dunno if they have the required spoons to push this to the end, but maybe it can get the ball rolling

20:12:46
@helle:tacobelllabs.nethelle (just a stray cat girl)sadly currently out of spoons to further explore, but will make a note20:15:15
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @aleksi:pikaviestin.fi
I see live-bootstrap people have also bootstrapped autotools to prevent relying on autogenerated configure scripts. I don't know if nixpkgs wants or needs that though
that is a lot of work I would not want to do atm
20:31:39
@pyrox:pyrox.devdish [Fox/It/She]considering you have to bootstrap diff versions of automake/autotools in a hyperspecific way and you have to do like 2 dozen vers to make actual progress20:32:25
@pyrox:pyrox.devdish [Fox/It/She]for now I don't mind pre-generated header files but that may be something we do later20:32:47
* @qyriad:katesiria.orgQyriad cries in rustc bootstrap20:33:01

Show newer messages


Back to Room ListRoom Version: 9