From de7d67b8bae8aa2ac920fa10918c89ce44b66d00 Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Wed, 6 Nov 2024 13:36:42 -0600 Subject: [PATCH] mopidy: make makeWrapper a native build input This fixes the error message error: makeWrapper/makeShellWrapper must be in nativeBuildInputs --- modules/services/mopidy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/mopidy.nix b/modules/services/mopidy.nix index d50a81294..3f962edf6 100644 --- a/modules/services/mopidy.nix +++ b/modules/services/mopidy.nix @@ -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}