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

beets.externalPlugins.check: init at 0.12.0 #75136

Merged
merged 1 commit into from Dec 15, 2019

Conversation

lovesegfault
Copy link
Member

Motivation for this change

I need this plugin

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @aszlig @domenkozar @pjones

@lovesegfault
Copy link
Member Author

A test is still failing, I'm working on it

@lovesegfault
Copy link
Member Author

All fixed.

@worldofpeace
Copy link
Contributor

This is completely impractical to test without

diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix
index 3c2c474240f..b4dfa71ca96 100644
--- a/pkgs/tools/audio/beets/default.nix
+++ b/pkgs/tools/audio/beets/default.nix
@@ -250,6 +250,10 @@ in pythonPackages.buildPythonApplication rec {
 
   makeWrapperArgs = [ "--set GI_TYPELIB_PATH \"$GI_TYPELIB_PATH\"" "--set GST_PLUGIN_SYSTEM_PATH_1_0 \"$GST_PLUGIN_SYSTEM_PATH_1_0\"" ];
 
+  passthru = {
+    externalPlugins = plugins;
+  };
+
   meta = {
     description = "Music tagger and library organizer";
     homepage = http://beets.io;

Now I can actually build the external packages under beets.externalPlugins.check, and your commit message can have this attribute.

@lovesegfault
Copy link
Member Author

@worldofpeace all fixed up :)

Copy link
Contributor

@worldofpeace worldofpeace left a comment

Choose a reason for hiding this comment

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

LGTM, just maybe need a comment for the sed.

@worldofpeace worldofpeace changed the title beets/check-plugin: init at 0.12.0 beets.externalPlugins.check: init at 0.12.0 Dec 15, 2019
@worldofpeace worldofpeace merged commit 8047512 into NixOS:master Dec 15, 2019
@lovesegfault lovesegfault deleted the beets-check branch April 7, 2020 07:31
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.

None yet

3 participants