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

lilypond-with-fonts: fix lilypond not finding its libraries #140490

Merged
merged 1 commit into from
Oct 10, 2021
Merged

lilypond-with-fonts: fix lilypond not finding its libraries #140490

merged 1 commit into from
Oct 10, 2021

Conversation

omidmnz
Copy link
Contributor

@omidmnz omidmnz commented Oct 4, 2021

Fixes #140152. The fix is inspired by how lilypond-with-fonts was
packaged in v18.09.

Motivation for this change

As described in the issue, the lilypond-with-fonts package is broken at the moment.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.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.

Copy link
Member

@yurrriq yurrriq left a comment

Choose a reason for hiding this comment

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

Thanks for calling this out! I've made some inline comments and suggestions. By the way, we should probably migrate from https://github.com/OpenLilyPondFonts/ to https://github.com/openlilylib/notation-fonts at some point.

pkgs/misc/lilypond/with-fonts.nix Outdated Show resolved Hide resolved
pkgs/misc/lilypond/with-fonts.nix Outdated Show resolved Hide resolved
Fixes #140152. The fix is inspired by how lilypond-with-fonts was
packaged in v18.09.
@omidmnz
Copy link
Contributor Author

omidmnz commented Oct 8, 2021

Thanks for calling this out! I've made some inline comments and suggestions. By the way, we should probably migrate from https://github.com/OpenLilyPondFonts/ to https://github.com/openlilylib/notation-fonts at some point.

I fixed the PR with your suggestions, I agree with you that wrapProgram is preferred.

@ofborg ofborg bot requested a review from yurrriq October 8, 2021 21:49
@yurrriq
Copy link
Member

yurrriq commented Oct 10, 2021

Result of nixpkgs-review pr 140490 run on x86_64-linux 1

1 package built:
  • lilypond-with-fonts

@yurrriq
Copy link
Member

yurrriq commented Oct 10, 2021

Thanks! Do you have any interest in migrating the fonts? I've created #141162 for tracking.

@yurrriq yurrriq merged commit c205944 into NixOS:master Oct 10, 2021
@omidmnz
Copy link
Contributor Author

omidmnz commented Oct 10, 2021

Thanks! Do you have any interest in migrating the fonts? I've created #141162 for tracking.

Of course! But I don't have much experience with OpenLilyLib. But I'll sure dig into it and add my updates to the issue you mentioned.

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

Successfully merging this pull request may close these issues.

lilypond-with-fonts cannot find Scheme files
3 participants