remove kdeEnv
This commit is contained in:
parent
58811df272
commit
5da372c36e
@ -56,11 +56,6 @@ let
|
||||
} // (args.meta or {});
|
||||
});
|
||||
|
||||
kdeEnv = import ./kde-env.nix {
|
||||
inherit (pkgs) stdenv lib;
|
||||
inherit (pkgs.xorg) lndir;
|
||||
};
|
||||
|
||||
kdeWrapper = import ./kde-wrapper.nix {
|
||||
inherit (pkgs) stdenv lib makeWrapper;
|
||||
};
|
||||
|
@ -1,31 +0,0 @@
|
||||
{ stdenv, lib, lndir }:
|
||||
|
||||
drv: pkgs:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kde-env-${drv.name}";
|
||||
nativeBuildInputs = [ lndir ];
|
||||
envPkgs = builtins.map lib.getBin ([drv] ++ pkgs);
|
||||
unpackPhase = "true";
|
||||
configurePhase = "runHook preConfigure; runHook postConfigure";
|
||||
buildPhase = "true";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
propagated=""
|
||||
for i in $envPkgs; do
|
||||
findInputs $i propagated propagated-user-env-packages
|
||||
done
|
||||
|
||||
for tgt in bin etc/xdg lib/libexec lib/qt5 share; do
|
||||
mkdir -p "$out/$tgt"
|
||||
for p in $propagated; do
|
||||
if [ -d "$p/$tgt" ]; then
|
||||
lndir -silent "$p/$tgt" "$out/$tgt" >/dev/null 2>&1
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user