Re:Nix Survival Mode: macOS upgrades won't break Nix anymore
by grhmc on Wednesday October 25, 2023 @02:16PM
(#38016204)
Hmmm... would you mind opening an issue over here[1]? We have seen some related issues that might dovetail nicely.
Re:Nix Survival Mode: macOS upgrades won't break Nix anymore
by Cu3PO42 on Wednesday October 25, 2023 @02:27PM
(#38016373)
I will do tomorrow! In the meantime, on the offchance anyone stumbles across this who has the same problem, my workaround is available here [0]. (Also exported as `darwinModules.chsh` from my Flake)
[0] https://github.com/Cu3PO42/gleaming-glacier/blob/master/modu...
Re:Nix Survival Mode: macOS upgrades won't break Nix anymore
by grhmc on Wednesday October 25, 2023 @02:35PM
(#38016493)
Ah fabulous, thanks! I'll make a note internally. It'd still be great if you could open an issue.
While we're speaking of things I need workarounds for: having my login shell be Nix-installed currently has a race condition on systems with FileVault. I have, for example, iTerm2 configured to resume on reboot and it will start before the Nix partition is mounted, thus complaining that it cannot exec my shell. My workaround entails placing a thin wrapper on the main partition that simply waits for /nix to be mounted and then `exec`ing the right shell binary depending on the invoking user.
I should probably open an issue about this, but I'm not sure it can be solved at all while `/nix` needs to be on a seperate volume.