init cachy kernel
This commit is contained in:
30
packages/linux-cachyos/lib/llvm-pkgs.nix
Normal file
30
packages/linux-cachyos/lib/llvm-pkgs.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
final,
|
||||
flakes,
|
||||
...
|
||||
}:
|
||||
let
|
||||
# Don't waste user's time.
|
||||
markBroken =
|
||||
drv:
|
||||
drv.overrideAttrs (prevAttrs: {
|
||||
meta = (prevAttrs.meta or { }) // {
|
||||
broken = true;
|
||||
};
|
||||
});
|
||||
in
|
||||
(final.pkgsLLVM.extend flakes.self.overlays.default).extend (
|
||||
_finalLLVM: prevLLVM: {
|
||||
inherit (final)
|
||||
dbus
|
||||
libdrm
|
||||
libgbm
|
||||
libGL
|
||||
libxv
|
||||
libtirpc
|
||||
wayland
|
||||
xorg
|
||||
;
|
||||
cups = markBroken prevLLVM.cups;
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user