Exotic Nix Targets | 353 Members | |
| 111 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 May 2023 | ||
j-k John Ericson I'm adding a minimal-bootstrap maintainers team for PR review pings. Can I start with your names? and anyone else who'd be able to review ofc | 00:13:31 | |
| https://github.com/NixOS/nixpkgs/pull/232320 | 00:30:19 | |
In reply to @emilytrau:matrix.org I tried pulling the whole repo but it was upset by the symlinks. also pulling the whole of live-bootstrap is quite a big source where we'll only use a handful of files hopefully. IDK if the priority will be less bytes pulled in or less total separate derivations. I made some other ux changes to get a trimmed subset of files so you can do
| 08:47:02 | |
| top tip: untar has --non-strict for ignoring symlinks! j-k | 08:49:04 | |
| i've found untar can get you surprisingly far before you need to reach for the gnu tools 😼 | 08:50:02 | |
| oh yeah, so I guess we can pick between a big single drv and many tiny drvs. we could probably still have some kind of prefix helper or just have 1 prefix variable like you've got on your branch | 08:50:12 | |
| personally my goal isn't to track the live-bootstrap path exactly. as live-bootstrap evolves i'm ok with diverging if it doesn't fit as well into nixpkgs. was also shows this 3rd bootstrap project and blending in ideas/scripts/patches from there as well https://github.com/schierlm/FullSourceBootstrapFromGit | 08:53:50 | |
| * personally my goal isn't to track the live-bootstrap path exactly. as live-bootstrap evolves i'm ok with diverging if it doesn't fit as well into nixpkgs. was also shown this 3rd bootstrap project and blending in ideas/scripts/patches from there as well https://github.com/schierlm/FullSourceBootstrapFromGit | 08:54:13 | |
| will be putting up a PR for coreutils today once that maintainers PR is merged =) | 08:55:27 | |
that repo looks nice & it's easier to follow than diving through run.kaem -> after.kaem -> after2.kaem -> after-fxiw.kaem -> run.sh etc or whatever it is 😅 it actually has the parts & packages clearly documented in the readme | 09:07:40 | |
| It grabs live-bootstrap but then deletes most files https://github.com/schierlm/FullSourceBootstrapFromGit/blob/main/part01.sh#L27-L28 specifically in this folder we see it uses | 09:09:38 | |
| looks like a couple of makefiles & a couple of patches are the bits they've decided to copy as-is. https://sourcegraph.com/search?q=context%3Aglobal+repo%3A%5Egithub%5C.com%2Fschierlm%2FFullSourceBootstrapFromGit%24%40main+live-bootstrap&patternType=standard&sm=1&groupBy=path there's also these c files for gnutar and gnuzip that fix reproducibility which we'll want to keep, I guess this repo hasn't been updated since those were added to live-bootstrap | 09:12:42 | |
| pushed a copy. I noticed some of the files for coreutils come from a different commit so having some capability for multiple target commits would be good https://github.com/06kellyjac/nixpkgs/commit/a106f98d9fb82a5640413289dd9c7f2dd7f5b6db I might permanently move the files source of truth to nix & only fetch hashes for items that are empty e.g. | 12:15:48 | |
| I might actually try the untar --non-strict method for a bit but maybe unpack it into different grouped pieces. many files into 1 drv looks pretty nasty in the graphs 😅 | 12:23:08 | |
| Redacted or Malformed Event | 12:23:10 | |
| 👀 | 13:16:43 | |
| * 👀 ahh it's because we delete all images in matrix ATM https://matrix.to/#/!GsmxjHfeAYLsTEQmjS:nixos.org/$KCXuLtBQe1aym2KRdEQ4fuorkb374ijgbFK3rph4fWw?via=nixos.org&via=matrix.org&via=nixos.dev | 13:33:36 | |
| emilytrau: happy to be on that team! | 13:58:53 | |
| we should ~~nerd snipe~~ involve amjoseph (not on matrix) too, I think :) | 13:59:23 | |
| John Ericson: something is up with the pname/version that gets exposed. any theories? https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=minimal-bootstrap | 14:29:53 | |
In reply to @emilytrau:matrix.orgwhats the issue? | 14:45:08 | |
| yeah looks fine to me | 14:45:21 | |
if you're refering to "Name: tinycc-mes-unstable Version: 2023-04-20" where unstable is on the wrong side of things, it's like that for anything unstable-xxxx-xx-xx.It's due to sourceTarball AFAIK? | 15:55:17 | |
| ah. i've never noticed that thank you! j-k | 20:00:54 | |
| 18 May 2023 | ||
In reply to @emilytrau:matrix.orgcould i get this merged please and thank you 🙏 | 00:21:52 | |
In reply to @emilytrau:matrix.org* could i get this merged please and thank you 🙏 it is a blocker | 00:22:09 | |
| * could i get this merged please and thank you 🙏 it is blocking me | 00:22:19 | |
| merged by the magnanimous k900 | 08:31:30 | |
| https://i.imgur.com/5CUM9n3.png | 21:38:25 | |
| I have been wrestling with untar the live-bootstrap tarball. if there are multiple files of the same name it dumps them in PWD instead of the right place... and for some files it leaves them in one place but appends what look like file permissions to the end? 👀 in actuality the nix doesn't need to be that hideous, I can abstract out some prefixes but it expresses my current mood quite well | 21:39:28 | |