mpd: define simpler, using callPackage (singular)

This commit is contained in:
Doron Behar
2025-08-05 13:47:36 +03:00
parent 049a4670b2
commit 587d06f7e0
2 changed files with 4 additions and 11 deletions
+3 -6
View File
@@ -194,7 +194,8 @@ let
else
features;
mpd = stdenv.mkDerivation (finalAttrs: {
in
stdenv.mkDerivation (finalAttrs: {
pname = "mpd";
version = "0.24.5";
@@ -285,8 +286,4 @@ let
files while being controlled by its network protocol.
'';
};
});
in
{
inherit mpd;
}
})
+1 -5
View File
@@ -10220,11 +10220,7 @@ with pkgs;
mkchromecast = libsForQt5.callPackage ../applications/networking/mkchromecast { };
inherit
(callPackages ../servers/mpd {
})
mpd
;
mpd = callPackage ../servers/mpd { };
mtprotoproxy = python3.pkgs.callPackage ../servers/mtprotoproxy { };