!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

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

Load older messages


SenderMessageTime
20 Jul 2022
@Ericson2314:matrix.orgJohn EricsonI do like how legacy stdenv moves us towards maybe not having a single stdenv at all17:09:57
@Ericson2314:matrix.orgJohn Ericsonultimately it's good to package things at a higher level17:10:15
@Ericson2314:matrix.orgJohn Ericson(though polyglot projects are always a thorn in such efforts)17:10:30
@kity:kity.wtfproblemsmaking stdenvs composable might be a good thing then?17:11:56
@Ericson2314:matrix.orgJohn Ericson perhaps, like sander's thing, but I might prefer to think stdenvs as more the results of composition than the things which are composed 17:15:58
@infinisil:matrix.orginfinisil John Ericson: Ah so like, here's how to get bootstrap glibc, here's how to bootstrap curl, do both at once? 17:17:31
@Ericson2314:matrix.orgJohn Ericsonalso stdenv != bootstrapping17:18:07
@infinisil:matrix.orginfinisilPlease elaborate!17:18:21
@Ericson2314:matrix.orgJohn EricsonI meant to rearrange the files to reflect this 17:18:21
@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

Show newer messages


Back to Room ListRoom Version: 9