mirror of
https://github.com/nix-community/home-manager
synced 2024-12-03 16:39:46 +01:00
mopidy: make makeWrapper a native build input
This fixes the error message error: makeWrapper/makeShellWrapper must be in nativeBuildInputs
This commit is contained in:
parent
21396857fd
commit
de7d67b8ba
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ let
|
||||||
name = "mopidy-with-extensions-${pkgs.mopidy.version}";
|
name = "mopidy-with-extensions-${pkgs.mopidy.version}";
|
||||||
paths = closePropagation cfg.extensionPackages;
|
paths = closePropagation cfg.extensionPackages;
|
||||||
pathsToLink = [ "/${pkgs.mopidyPackages.python.sitePackages}" ];
|
pathsToLink = [ "/${pkgs.mopidyPackages.python.sitePackages}" ];
|
||||||
buildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
makeWrapper ${pkgs.mopidy}/bin/mopidy $out/bin/mopidy \
|
makeWrapper ${pkgs.mopidy}/bin/mopidy $out/bin/mopidy \
|
||||||
--prefix PYTHONPATH : $out/${pkgs.mopidyPackages.python.sitePackages}
|
--prefix PYTHONPATH : $out/${pkgs.mopidyPackages.python.sitePackages}
|
||||||
|
|
Loading…
Reference in a new issue