Skip to content

Commit

Permalink
nixos/mopidy: use lib.getExe
Browse files Browse the repository at this point in the history
  • Loading branch information
Stunkymonkey committed Nov 15, 2024
1 parent 3993629 commit 29c87a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/audio/mopidy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let
pathsToLink = [ "/${pkgs.mopidyPackages.python.sitePackages}" ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
makeWrapper ${cfg.package}/bin/mopidy $out/bin/mopidy \
makeWrapper ${lib.getExe cfg.package} $out/bin/mopidy \
--prefix PYTHONPATH : $out/${pkgs.mopidyPackages.python.sitePackages}
'';
};
Expand Down

0 comments on commit 29c87a2

Please sign in to comment.