mopidy: make makeWrapper a native build input

This fixes the error message

    error: makeWrapper/makeShellWrapper must be in nativeBuildInputs
This commit is contained in:
Jordan Williams 2024-11-06 13:36:42 -06:00 committed by Robert Helgesson
parent 21396857fd
commit de7d67b8ba
Failed to generate hash of commit

View file

@ -23,7 +23,7 @@ let
name = "mopidy-with-extensions-${pkgs.mopidy.version}";
paths = closePropagation cfg.extensionPackages;
pathsToLink = [ "/${pkgs.mopidyPackages.python.sitePackages}" ];
buildInputs = [ pkgs.makeWrapper ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
makeWrapper ${pkgs.mopidy}/bin/mopidy $out/bin/mopidy \
--prefix PYTHONPATH : $out/${pkgs.mopidyPackages.python.sitePackages}