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

musescore: add darwin-specific package #23204

Merged

Conversation

yurrriq
Copy link
Member

@yurrriq yurrriq commented Feb 26, 2017

Motivation for this change

The existing package has: platforms = platforms.linux and I wanted a version that works on macOS. The added musescore-darwin package is basically a clone of the Homebrew cask version and uses the .dmg distributed by MuseScore.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@yurrriq
Copy link
Member Author

yurrriq commented Feb 26, 2017

/cc @vandenoever

@fpletz fpletz added the 6.topic: darwin Running or building packages on Darwin label Feb 26, 2017
yurrriq added a commit to yurrriq/dotfiles that referenced this pull request Feb 26, 2017
@LnL7
Copy link
Member

LnL7 commented Feb 26, 2017

Did you try to build it from source?

@yurrriq
Copy link
Member Author

yurrriq commented Feb 26, 2017

I only tried building the existing package (with allowBroken = true), which failed.

@yurrriq
Copy link
Member Author

yurrriq commented Feb 26, 2017

I just tried briefly by adding -f Makefile.osx to makeFlags but ran into some Qt-related errors.

@@ -0,0 +1,34 @@
{ stdenv, fetchurl, undmg }:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to put this in applications/audio/musescore/darwin.nix

@yurrriq
Copy link
Member Author

yurrriq commented Feb 27, 2017

@LnL7, will do.

@yurrriq yurrriq force-pushed the add/pkgs/applications/audio/musescore-darwin branch from 23bf923 to 22404a0 Compare February 28, 2017 03:03
@yurrriq
Copy link
Member Author

yurrriq commented Feb 28, 2017

@LnL7, I've made the change you suggested and rebased.

@LnL7 LnL7 merged commit e0ed902 into NixOS:master Feb 28, 2017
@yurrriq yurrriq deleted the add/pkgs/applications/audio/musescore-darwin branch March 6, 2017 22:13
@doronbehar doronbehar mentioned this pull request Jul 15, 2023
12 tasks
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants