Exotic Nix Targets | 343 Members | |
| 107 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 May 2023 | ||
| OK build finished, https://github.com/NixOS/nixpkgs/pull/231894 undrafted | 23:42:44 | |
| I recommmend reviewing with ignoring space changes 😓 | 23:42:56 | |
| and probably commit-by-commit too | 23:43:04 | |
| 15 May 2023 | ||
| Alyssa Ross: do you want to add freebsd to release-cross.nix after all your hard work? | 00:27:43 | |
| 16 May 2023 | ||
In reply to @raitobezarius:matrix.orgwith current patchset kernel doesn't see nvme ssd when it's initialized in u-boot, but if boot partition is on sdcard it works fine. I hope this will be fixed soon | 08:39:15 | |
| emilytrau John Ericson anything else in progress for minimal-bootstrap? Am I right in thinking we're on sysa/run-after-fiwix.kaem at the moment? | 18:46:25 | |
| j-k: I am not working on anything, I did my parallelism bit and am done for the moment | 18:47:12 | |
| yeah I pulled the latest copy & it builds very nicely. I'm playing with adding strictDeps to the derivationWithMeta but I imagine how we add extra bits like that will need some discussion Since it looks like we're on that file I'm probably going to try add tar & gzip in the same vein as gnumake/gnupatch | 18:49:32 | |
j-k: strictDeps is a stdenv thing, derivationWithMeta already lacks unstrictDeps! | 19:19:27 | |
| unless I am missing something | 19:19:35 | |
ah ok got it, I thought it might be a derivation builtin thing. my bad | 19:20:00 | |
| For gzip and tar I'm going to need some replacement files & makefiles from live-bootstrap any thoughts on vendoring them in nixpkgs, vs creating | 19:31:56 | |
| j-k: there is some fetchurl in there already? | 19:44:03 | |
| the fetchurl boot? | 19:44:07 | |
| no fetchurl of the whole of live-bootstrap or individual files from live-bootstrap if that's what you mean | 19:51:48 | |
| j-k: I think you could just fetchurl boot a single file from github? | 20:03:29 | |
| no compression or archiving to worry about then | 20:03:42 | |
| j-k: this is my "sandbox" branch https://github.com/emilytrau/nixpkgs/tree/trusting-trust-next | 22:13:48 | |
| ah very nice. i'm working on a shell script where we can hopefully build out the sha256s for all the files such as these ones to make maintenance easier: https://github.com/NixOS/nixpkgs/blob/d6cee7f2d3ef7b5c55a1b1347dbcad7ff660560d/pkgs/os-specific/linux/minimal-bootstrap/gnutar/default.nix#L16-L37 | 22:16:15 | |
| I tried a bunch of stuff that all felt awful to use but this is what I've ended up with:
& a default.nix that mapAttrs that into fetched files to be used like I'll clean it up and put it on a branch in the morning but any initial thoughts on the UX? I considered trimming off the "sysa" part but in theory there could be collisions with stuff "sysc" | 22:44:31 | |
| i feel there is a benefit to versioning patches separately, you wouldn't have to track breaking updates to livebootstrap for individual package patches | 23:46:12 | |
| but am i missing something or could you fetchurl a release tarball and use ungz and untar from mescc-tools-extra? | 23:47:44 | |
| 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 | |