diff --git a/pkgs/development/libraries/kde-frameworks/default.nix b/pkgs/development/libraries/kde-frameworks/default.nix index 5962c16860db..bf27d52dceb5 100644 --- a/pkgs/development/libraries/kde-frameworks/default.nix +++ b/pkgs/development/libraries/kde-frameworks/default.nix @@ -56,7 +56,6 @@ let kdeEnv = import ./kde-env.nix { inherit (pkgs) stdenv lib; inherit (pkgs.xorg) lndir; - inherit ecmNoHooks; }; kdeWrapper = import ./kde-wrapper.nix { diff --git a/pkgs/development/libraries/kde-frameworks/kde-env.nix b/pkgs/development/libraries/kde-frameworks/kde-env.nix index f4ad528454b2..c77ff49bfeaf 100644 --- a/pkgs/development/libraries/kde-frameworks/kde-env.nix +++ b/pkgs/development/libraries/kde-frameworks/kde-env.nix @@ -1,14 +1,11 @@ -{ stdenv, lib, lndir, ecmNoHooks }: +{ stdenv, lib, lndir }: -name: pkgs: +drv: pkgs: -let - inherit (builtins.parseDrvName ecmNoHooks.name) version; -in stdenv.mkDerivation { - name = "kde-env-${name}"; + name = "kde-env-${drv.name}"; nativeBuildInputs = [ lndir ]; - propagatedUserEnvPkgs = builtins.map lib.getBin pkgs; + propagatedUserEnvPkgs = builtins.map lib.getBin ([drv] ++ pkgs); unpackPhase = "true"; configurePhase = "runHook preConfigure; runHook postConfigure"; buildPhase = "true";