1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 11:03:37 +03:00
mobile-nixos/overlay/overlay.nix
Samuel Dionne-Riel f9b5868c1a stage-1: Use ply-image for splash purposes.
This is upstream in-use by google for chromebooks, which means some
support for some advanced things.

This especially means animations can be handled by ply-image if so
desired.
2018-07-03 23:50:16 -04:00

48 lines
1.1 KiB
Nix

self: super:
let
callPackage = self.callPackage;
in
{
# Misc. tools.
# Keep sorted.
dtbTool = callPackage ./dtbtool { };
hard-reboot = callPackage ./misc/hard-reboot.nix { };
mkbootimg = callPackage ./mkbootimg { };
msm-fb-refresher = callPackage ./msm-fb-refresher { };
ply-image = callPackage ./ply-image { };
# Extra "libs"
mkExtraUtils = import ./lib/extra-utils.nix {
inherit (self)
runCommandCC
glibc
buildPackages
writeShellScriptBin
;
inherit (self.buildPackages)
nukeReferences
;
};
# Default set of kernel patches.
defaultKernelPatches = with self.kernelPatches; [
bridge_stp_helper
p9_fixes
lguest_entry-linkage
packet_fix_race_condition_CVE_2016_8655
DCCP_double_free_vulnerability_CVE-2017-6074
];
#
# Overrides
#
# valgrind won't build cross.
libdrm = super.libdrm.overrideAttrs(oldAttrs: {
buildInputs = builtins.filter (
input: input != self.valgrind-light
) oldAttrs.buildInputs;
});
}