Skip to content
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

Unable to run some app on ~/Applications/Nix Apps after update MacOS Sequoia 15.1 #1167

Open
rhesadaiva opened this issue Nov 14, 2024 · 9 comments

Comments

@rhesadaiva
Copy link

rhesadaiva commented Nov 14, 2024

Description

I'm doing update for my Macbook Pro, update the OS into MacOS Sequoia 15.1, suddenly after update, some app in ~/Applications/Nix Apps can't run because the Finder doesn't have permission to run the app.

Screenshot 2024-11-14 at 09 47 43

Steps Taken

  1. Removed the applications from Nix configuration and ran darwin-rebuild switch
  2. sudo nix-collect-garbage -d
  3. nix-collect-garbage
  4. Run darwin-rebuild --check, got an error like this
Screenshot 2024-11-14 at 09 48 17

Expected Behavior

The app should run

Question

Is there any configuration should i done since i'm updating the OS?

@rhesadaiva rhesadaiva changed the title Unable to run some app on ~/Applications/Nix Apps after update MacOS Sonoma 15.1 Unable to run some app on ~/Applications/Nix Apps after update MacOS Sequoia 15.1 Nov 14, 2024
@mbarneyjr
Copy link

I'm experiencing this too. I had to install Kitty via brew as a workaround

@Mayeu
Copy link

Mayeu commented Nov 15, 2024

I don't have much idea about what could be wrong here, but there is a small wiki page about upgrading macOS: https://github.com/LnL7/nix-darwin/wiki/Upgrading-macOS

Did you both follow it?

@Enzime
Copy link
Collaborator

Enzime commented Nov 15, 2024

That page is quite out of date, I’ve removed it now

It looks like the error you’re getting is the same as this article:

https://hackaday.com/2024/11/01/apple-forces-the-signing-of-applications-in-macos-sequoia-15-1/

I’m not sure if there’s a workaround for it

@emilazy
Copy link
Collaborator

emilazy commented Nov 15, 2024

That article is basically misinformation; it links to this Apple page that explains that they just removed the override to the Security & Privacy pane in System Settings. Which, yes, is annoying, but not at all “version 15.1 disabling ways to bypass this completely”.

@Mayeu
Copy link

Mayeu commented Nov 15, 2024

Quoting Apple news directly here:

In macOS Sequoia, users will no longer be able to Control-click to override Gatekeeper when opening software that isn’t signed correctly or notarized. They’ll need to visit System Settings > Privacy & Security to review security information for software before allowing it to run.

@rhesadaiva
Copy link
Author

For the temporary solution, I can just do like this:

  1. Open Terminal
  2. Type kitty
  3. The app is opened

(Still annoying, but i don't want to reconfigure my Kitty again)

@mbarneyjr
Copy link

Even after using the

$ sudo spctl --master-disable

workaround to get "Allow applications from: Anywhere", I'm still unable to open kitty
image

@Quentangle
Copy link

This appears to have been resolved for kitty by NixOS/nixpkgs#352795.

Updating to a recent stable nixpkgs will make kitty work again.

@mbarneyjr
Copy link

I updated my flake to nixpkgs 24.11 from 24.05 and that seems to have resolved these errors for me (even on my computer without the "Allow applications from anywhere" setting)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants