nixos/mopidy: use lib.getExe

This commit is contained in:
Felix Buehler 2024-11-16 00:56:23 +01:00
parent 73ede0a42d
commit 9262fc48f9

View File

@ -13,7 +13,7 @@ let
pathsToLink = [ "/${pkgs.mopidyPackages.python.sitePackages}" ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
makeWrapper ${pkgs.mopidy}/bin/mopidy $out/bin/mopidy \
makeWrapper ${lib.getExe pkgs.mopidy} $out/bin/mopidy \
--prefix PYTHONPATH : $out/${pkgs.mopidyPackages.python.sitePackages}
'';
};