Skip to content

nanovg and monomer can build on darwins#348537

Closed
yuanwang-wf wants to merge 154 commits intoNixOS:haskell-updatesfrom
yuanwang-wf:monomer-not-broken-on-mac
Closed

nanovg and monomer can build on darwins#348537
yuanwang-wf wants to merge 154 commits intoNixOS:haskell-updatesfrom
yuanwang-wf:monomer-not-broken-on-mac

Conversation

@yuanwang-wf
Copy link

I think haskell packages nanovg and monomer were marked with badPlatforms with darwin were due to mesa cannot build on darwin. #272166 fix mesa build on darwin. I tested build a monomer app on aarch64-darwin, the app renders correctly afaict

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.11 Release Notes (or backporting 23.11 and 24.05 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.

@github-actions github-actions bot added the 6.topic: haskell General-purpose, statically typed, purely functional programming language label Oct 14, 2024
@NixOSInfra NixOSInfra added the 12.first-time contribution This PR is the author's first one; please be gentle! label Oct 14, 2024
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Oct 14, 2024
@maralorn
Copy link
Member

maralorn commented Oct 16, 2024

Thx! 😄

This is an autogenerated file. Please locate the lines corresponding to those packages in the hackage2nix-configuration/main.yaml file next to it and adapt them accordingly. Then run maintainers/scripts/haskell/regenerate-hackage-packages.sh.

@maralorn
Copy link
Member

Both files still seem a bit inconsistent.
Please also follow the contributing guide lines and squash everything into one commit.

@yuanwang-wf yuanwang-wf force-pushed the monomer-not-broken-on-mac branch from c161b50 to 81295f4 Compare October 16, 2024 23:41
@yuanwang-wf
Copy link
Author

Both files still seem a bit inconsistent. Please also follow the contributing guide lines and squash everything into one commit.

Sorry about that. there are some webkitgtk changes. I am not sure about them. I think this is ready for another look. thank you for your time

@maralorn
Copy link
Member

  1. Mark this PR a draft.
  2. Rebase your commit onto haskell-updates and force push.
  3. Change the base of this pr to haskell-updates
  4. Unmark draft.

Then maybe rerun the script and hopefully the webkit changes disappear.

@yuanwang-wf yuanwang-wf marked this pull request as draft October 17, 2024 00:07
mweinelt and others added 17 commits October 16, 2024 18:10
@yuanwang-wf yuanwang-wf force-pushed the monomer-not-broken-on-mac branch from 81295f4 to 3d49a60 Compare October 17, 2024 00:20
@github-actions github-actions bot added 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 8.has: changelog This PR adds or changes release notes 8.has: module (update) This PR changes an existing module in `nixos/` 6.topic: emacs Text editor 6.topic: golang Go is a high-level general purpose programming language that is statically typed and compiled. 6.topic: vim Advanced text editor 6.topic: vscode A free and versatile code editor that supports almost every major programming language. 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related labels Oct 17, 2024
@yuanwang-wf yuanwang-wf changed the base branch from master to haskell-updates October 17, 2024 00:21
@maralorn
Copy link
Member

Oh, damn. I should have said cherry-pick your commit on top of haskell-updates, not rebase it.

@yuanwang-wf
Copy link
Author

should i just open a PR to haskell-update branch ?

@maralorn
Copy link
Member

In theory this PR is still salvagable, but you can also just open a new one.

@yuanwang-wf yuanwang-wf deleted the monomer-not-broken-on-mac branch October 17, 2024 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: emacs Text editor 6.topic: golang Go is a high-level general purpose programming language that is statically typed and compiled. 6.topic: haskell General-purpose, statically typed, purely functional programming language 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: vim Advanced text editor 6.topic: vscode A free and versatile code editor that supports almost every major programming language. 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.