Merge pull request #118478 from tomjnixon/allow-overriding-mopidy-packages
mopidy: allow overriding in mopidyPackages scope
This commit is contained in:
commit
60262e6cef
@ -1,12 +1,7 @@
|
|||||||
{ newScope, python }:
|
{ lib, newScope, python }:
|
||||||
|
|
||||||
# Create a custom scope so we are consistent in which python version is used
|
# Create a custom scope so we are consistent in which python version is used
|
||||||
|
lib.makeScope newScope (self: with self; {
|
||||||
let
|
|
||||||
callPackage = newScope self;
|
|
||||||
|
|
||||||
self = {
|
|
||||||
|
|
||||||
inherit python;
|
inherit python;
|
||||||
pythonPackages = python.pkgs;
|
pythonPackages = python.pkgs;
|
||||||
|
|
||||||
@ -41,6 +36,4 @@ let
|
|||||||
mopidy-youtube = callPackage ./youtube.nix { };
|
mopidy-youtube = callPackage ./youtube.nix { };
|
||||||
|
|
||||||
mopidy-subidy = callPackage ./subidy.nix { };
|
mopidy-subidy = callPackage ./subidy.nix { };
|
||||||
};
|
})
|
||||||
|
|
||||||
in self
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user