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

feishin: fix darwin builds #305344

Merged
merged 3 commits into from
Apr 30, 2024
Merged

Conversation

jlbribeiro
Copy link
Member

@jlbribeiro jlbribeiro commented Apr 19, 2024

Description of changes

@lunik1, I kindly ask you to test this and see if it works on your darwin system now :) (including whether it plays any sound)

I tested it on a macOS Sonoma x86_64-darwin VM. The app only shows in Launchpad (but not on Applications nor Spotlight); I understand there are a couple of open issues in nix-darwin regarding similar behavior, so I'm not 100% sure whether this is a packaging issue or just a Nix-on-macOS issue. I used nix-darwin with a very basic (i.e. no post-activation scripts + no Home Manager) config to install it. (Installed bruno and it had the same issues.)

Maintainer: @onny

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg bot added 6.topic: darwin Running or building packages on Darwin 8.has: clean-up labels Apr 19, 2024
@ofborg ofborg bot requested a review from onny April 19, 2024 17:17
@ofborg ofborg bot added 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Apr 19, 2024
@lunik1
Copy link
Contributor

lunik1 commented Apr 21, 2024

It's working for me! Thanks!

@jlbribeiro
Copy link
Member Author

@wegank would you be so kind to give this PR a look, similar to your #262081 which fixed drawio darwin builds?
(mine is also "inspired" by #280825)

@jlbribeiro jlbribeiro force-pushed the feishin-0.6.1-darwin branch 2 times, most recently from dd60d95 to adaf52d Compare April 24, 2024 22:24
@jlbribeiro jlbribeiro requested a review from wegank April 24, 2024 22:27
@jlbribeiro
Copy link
Member Author

jlbribeiro commented Apr 29, 2024

@onny would you mind reviewing this PR? I've addressed @wegank's concerns (but rather not ping again given they're now RM for 24.05), and would like to get the darwin build fixed. (Otherwise, I'd prefer to at least mark it as broken.)
And thank you :)

@wegank wegank force-pushed the feishin-0.6.1-darwin branch from adaf52d to 5124a8d Compare April 30, 2024 13:55
@wegank wegank changed the title feishin: fix 0.6.1 darwin builds feishin: fix darwin builds Apr 30, 2024
@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Apr 30, 2024
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin labels Apr 30, 2024
@wegank wegank merged commit 1bff3ce into NixOS:master Apr 30, 2024
26 of 29 checks passed
@jlbribeiro jlbribeiro deleted the feishin-0.6.1-darwin branch April 30, 2024 15:14
@jlbribeiro
Copy link
Member Author

@wegank Thank you so much for the review, fixes and merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 10.rebuild-darwin: 1-10 10.rebuild-darwin: 1 10.rebuild-linux: 1-10 10.rebuild-linux: 1 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants