-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plist file is never created but the installer assumes it is #1230
Comments
it seems this is similar to the user's error in #1187 i'm going to be investigating this ITT though I have to leave soon and I'm already behind on finishing a task because of nix not surviving a macos update :( |
so despite the file not existing, launchctl does acknowledge the existence of the service
|
here's some more logs that are helpful:
|
after rebooting i verified that the plist file still doesn't exist, but when i re-run |
This seems to be reproducible by doing:
I haven't confirmed, but I'm assuming launchctl has some stale state. And rebooting allows for it to "flush" the stale state, then it can proceed with installation. |
Thanks for that hint -- the actual steps I took to reproduce were:
(To reproduce, you need to reboot after installing because otherwise the nix hook won't be "active" in launchd's eyes -- it only runs on startup.) That was able to show me the failed bootout at the first try. I think your hunch that there is stale launchctl state is correct, but I think we can fix this by using the service identifier ( For anybody who comes across this issue in the future, you should be able to fix this by running the following command and then re-attempting the install:
(the unit that the installer complained about is (#1257 should fix these bootout issues once and for all) |
Error
I've verified that the file
/Library/LaunchDaemons/systems.determinate.nix-installer.nix-hook.plist
doesn't exist at the time when the installer is prompting permission to proceed with uninstalling following this error.Metadata
The text was updated successfully, but these errors were encountered: