kernelPackages.splashUtils: Enable detecting if manually configured kernels have fbcondecor

This commit is contained in:
Shea Levy 2012-08-01 21:44:53 -04:00
parent fd330e9315
commit ec587dfc25

View File

@ -5816,8 +5816,10 @@ let
linuxHeaders = glibc.kernelHeaders;
};
splashutils =
if kernel.features ? fbConDecor then pkgs.splashutils else null;
splashutils = let hasFbConDecor = if kernel ? features
then kernel.features ? fbConDecor
else kernel.config.isEnabled "FB_CON_DECOR";
in if hasFbConDecor then pkgs.splashutils else null;
/* compiles but has to be integrated into the kernel somehow
Let's have it uncommented and finish it..