| 16 Feb 2025 |
K900 | About the second XFS big | 16:51:20 |
K900 | * About the second XFS bit | 16:51:21 |
ElvishJerricco | Yea but it still seems probably more correct to somehow get the sh variant of runtimeShell | 16:51:40 |
ElvishJerricco | but it doesn't really matter | 16:51:50 |
K900 | Is it? | 16:51:50 |
K900 | I don't think it is tbh | 16:51:53 |
K900 | runtimeShell is an stdenv concept | 16:51:57 |
K900 | It doesn't have to be your /bin/sh | 16:52:03 |
ElvishJerricco | K900: I guess it depends on why things like xfs were ending up with sh as their interpreter. I imagine they were just using patchShebangs, and I don't know where it would find sh from | 16:52:41 |
K900 | Ambient stdenv presumably | 16:53:05 |
ElvishJerricco | yea so realistically we would want the logic in storePaths to mirror whatever patchShebangs is doing to find sh | 16:54:37 |
ElvishJerricco | in practice it doesn't really matter | 16:54:41 |
ElvishJerricco | because we have interactive and non-interactive bash in there anyway | 16:54:52 |
K900 | Goddammit | 16:56:21 |
K900 | We don't happen to have a text editor in initrd, do we | 16:56:34 |
ElvishJerricco | don't think so | 16:56:41 |
ElvishJerricco | (I have put emacs in there before though :P) | 16:56:56 |
K900 | And of course I fucked up the three hardest to reach machines in the apartmnet | 16:59:02 |
K900 | * And of course I fucked up the three hardest to reach machines in the apartment | 16:59:03 |
ElvishJerricco | I wonder how much initrd would grow if we included nano by default | 17:00:14 |
ElvishJerricco | if it's like, 100K, then we should probably just do that | 17:00:27 |
infinisil | Whew, 48MB closure size for nano | 17:01:30 |
infinisil | Didn't expect that | 17:01:36 |
ElvishJerricco | Yea and I don't think we have file or ncurses in initrd already | 17:01:51 |
ElvishJerricco | still, we'll only end up including a fraction of their files | 17:02:03 |
infinisil | Alternatively, busybox has vi :P | 17:04:33 |
infinisil | (and ed) | 17:04:38 |
ElvishJerricco | oh gosh, our baseline initrd has ballooned to 20M | 17:05:08 |
ElvishJerricco | did not realize that | 17:05:10 |
ElvishJerricco | that's... worse than I would like | 17:05:19 |