mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
kdeEnv: use package version, not ecm version
This commit is contained in:
parent
aaf612e833
commit
22bc6f01cf
@ -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 {
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user