mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
kernelPackages.splashUtils: Enable detecting if manually configured kernels have fbcondecor
This commit is contained in:
parent
fd330e9315
commit
ec587dfc25
1 changed files with 4 additions and 2 deletions
|
@ -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..
|
||||
|
|
Loading…
Reference in a new issue