Skip to content

Remove check for the executable to be in /Applications#2

Open
delafthi wants to merge 1 commit intoProtonDriveApps:mainfrom
delafthi:delafthi/klzxrtztomlz
Open

Remove check for the executable to be in /Applications#2
delafthi wants to merge 1 commit intoProtonDriveApps:mainfrom
delafthi:delafthi/klzxrtztomlz

Conversation

@delafthi
Copy link

@delafthi delafthi commented Feb 23, 2026

Sry, for doing it this way but I'm not sure how to get in touch with you.

I'm packaging Proton Drive for nixpkgs (NixOS/nixpkgs#493395). However, the production build has a hardcoded restriction that only allows executable paths starting with /Applications, which breaks Proton Drive when installed via Nix.

Nix installs applications to the immutable /nix/store directory and then creates symlinks to:

  • /Users/<user>/Applications/Home Manager Apps/ (when using home-manager)
  • /Applications/Nix Apps/ (when using nix directly)

Since these symlink locations don't always match the /Applications requirement, Proton Drive fails to launch.

Questions

  1. Why does Proton Drive enforce this /Applications path check?
  2. Would you be open to relaxing this restriction?

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

Successfully merging this pull request may close these issues.

1 participant