!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

227 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture53 Servers

Load older messages


SenderMessageTime
20 Jul 2022
@Ericson2314:matrix.orgJohn Ericsonwith the cross stuff we should be able to no logner have this stageN nonsense17:18:31
@Ericson2314:matrix.orgJohn Ericsonthe fixed points ought to be able to just figure it out for us17:18:47
@Ericson2314:matrix.orgJohn Ericsonif we are careful17:18:51
@Ericson2314:matrix.orgJohn Ericson what is left is mkDerivation 17:19:13
@infinisil:matrix.orginfinisilI guess I'm still a bit confused about things then. In my eyes, stdenv is there to bootstrap nixpkgs. Is that a bit wrong? Where does stdenv end and nixpkgs start?17:20:04
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusstdenv is more of a 'package set used by mkDerivation'17:21:31
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciuswith each stage we build a new stdenv which is less and less bootstrap tarball dependent17:21:58
@infinisil:matrix.orginfinisilAh, so it's for bootstrapping a mkDerivation17:22:10
@infinisil:matrix.orginfinisilThen I guess reducing the scope of the default builder goes hand in hand with stdenv17:22:44
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusand in case of cross - it just has different package set and probably thats it? (i dont think we change anything else?)17:22:54
@infinisil:matrix.orginfinisil * Then I guess reducing the scope of the default builder goes hand in hand with improving stdenv17:22:57
@Ericson2314:matrix.orgJohn Ericson infinisil: so stdenv to me is just pkgs/stdenv/generic 17:23:32
@Ericson2314:matrix.orgJohn Ericson the other pkgs/stdenv/* is basically just legacy bootstrapping nonsense that could be gotten rid of fairly easy after the compilers are repackaged 17:24:07
@Ericson2314:matrix.orgJohn Ericsonit is mass rebuild, but not a mass-refactor downstream packages like e.g. switching from bash or switching to structured attrs is17:24:35
@infinisil:matrix.orginfinisil Ahh, so that's essentially stdenv.mkDerivation, we've been discussing that a bit 17:25:03
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @infinisil:matrix.org
Ahh, so that's essentially stdenv.mkDerivation, we've been discussing that a bit
not to be confused with the other issue, which doesn't care about what's in stdenv, but focuses on the nix side of things
17:25:53
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius John Ericson: the whole gcc PR has been hanging for a while, is there anything that we could help with? Also how would that get rid of 'whole nonsense'? to me it seems at best we could remove 1 stage 17:26:38
@Ericson2314:matrix.orgJohn Ericson Gytis Ivaskevicius: basically we make buildPackages use bootstrap tools, but not pkgs 17:27:07
@Ericson2314:matrix.orgJohn Ericsonand then the cross stuff should just figure out how to make sure we never depend on bootstrap tools17:27:31
@Ericson2314:matrix.orgJohn Ericson Gytis Ivaskevicius: there is some -fpic nonsense that still needs to be figured out 17:27:43
@Ericson2314:matrix.orgJohn EricsonI don't know why linking claims there is an inconsistency17:27:53
@Ericson2314:matrix.orgJohn EricsonI wish it was easy to rope in some upstream person and have them explain17:28:10
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius oh, so this would make it easier for us to build minimal pkgs and basically to complie gcc -> recomplie -> done 17:28:35
@Ericson2314:matrix.orgJohn Ericsonyeha17:30:19
@Ericson2314:matrix.orgJohn Ericson * yeah17:30:21
@Ericson2314:matrix.orgJohn Ericsonbootstrap tools would probably ship no libs just raw gcc17:30:30
@Ericson2314:matrix.orgJohn Ericsonthen rebuild libgcc and up17:30:37
@Ericson2314:matrix.orgJohn Ericsonthen build new gcc17:30:45
@Ericson2314:matrix.orgJohn Ericsondone17:30:46
@Ericson2314:matrix.orgJohn Ericsonalso, screw boostrap tools17:30:52

Show newer messages


Back to Room ListRoom Version: 9