summary refs log tree commit diff
path: root/pkgs/tools/audio/beets/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-09-27 00:01:13 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-09-27 00:07:45 +0200
commit900a04e6c9953fbdc59d4a51bef8283594357d28 (patch)
tree36993211261e9e5c2b741e571311c63d09ae416d /pkgs/tools/audio/beets/default.nix
parentd4c66e2f46b248d55313105f09d25e5a1d304337 (diff)
downloadnixpkgs-900a04e6c9953fbdc59d4a51bef8283594357d28.tar
nixpkgs-900a04e6c9953fbdc59d4a51bef8283594357d28.tar.gz
nixpkgs-900a04e6c9953fbdc59d4a51bef8283594357d28.tar.bz2
nixpkgs-900a04e6c9953fbdc59d4a51bef8283594357d28.tar.lz
nixpkgs-900a04e6c9953fbdc59d4a51bef8283594357d28.tar.xz
nixpkgs-900a04e6c9953fbdc59d4a51bef8283594357d28.tar.zst
nixpkgs-900a04e6c9953fbdc59d4a51bef8283594357d28.zip
beets: Use pythonPackages.buildPythonApplication
The top-level attribute has been removed in commit
771ed59b48bc1257439b4529426cc9047aebc27b.

This has been partially resolved in commit
18bdd44729a4e3d58220ed4789a91aabd20470dd.

The latter change however only addressed the main derivations but missed
out on the plugins. This is now done by just passing pythonPackages down
the chain.

Tested by only evaluating the expression, not building.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @domenkozar, @pjones, @profpatsch
Diffstat (limited to 'pkgs/tools/audio/beets/default.nix')
-rw-r--r--pkgs/tools/audio/beets/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/audio/beets/default.nix b/pkgs/tools/audio/beets/default.nix
index 73ad23a6e66..283a6d48ca2 100644
--- a/pkgs/tools/audio/beets/default.nix
+++ b/pkgs/tools/audio/beets/default.nix
@@ -107,10 +107,10 @@ in pythonPackages.buildPythonApplication rec {
     ++ optional enableThumbnails   pythonPackages.pyxdg
     ++ optional enableWeb          pythonPackages.flask
     ++ optional enableAlternatives (import ./alternatives-plugin.nix {
-      inherit stdenv buildPythonApplication pythonPackages fetchFromGitHub;
+      inherit stdenv pythonPackages fetchFromGitHub;
     })
     ++ optional enableCopyArtifacts (import ./copyartifacts-plugin.nix {
-      inherit stdenv buildPythonApplication pythonPackages fetchFromGitHub;
+      inherit stdenv pythonPackages fetchFromGitHub;
     });
 
   buildInputs = with pythonPackages; [