1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-03 00:19: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:
Jordan Williams 2024-11-06 13:36:42 -06:00 committed by Robert Helgesson
parent 21396857fd
commit de7d67b8ba
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

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}