Merge pull request #118478 from tomjnixon/allow-overriding-mopidy-packages

mopidy: allow overriding in mopidyPackages scope
This commit is contained in:
Sandro 2021-04-13 15:02:28 +02:00 committed by GitHub
commit 60262e6cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,7 @@
{ newScope, python }:
{ lib, newScope, python }:
# Create a custom scope so we are consistent in which python version is used
let
callPackage = newScope self;
self = {
lib.makeScope newScope (self: with self; {
inherit python;
pythonPackages = python.pkgs;
@ -41,6 +36,4 @@ let
mopidy-youtube = callPackage ./youtube.nix { };
mopidy-subidy = callPackage ./subidy.nix { };
};
in self
})