1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-06 02:59:41 +01:00
wip-pinebook-pro/overlay.nix

34 lines
1.4 KiB
Nix
Raw Normal View History

2020-01-06 21:21:02 +01:00
final: super:
let
2020-01-06 21:21:57 +01:00
inherit (final) callPackage kernelPatches linuxPackagesFor;
renamed = old: new: builtins.trace "The ${old} attribute name is deprecated. Prefer using ${new}." final.${new};
2020-01-06 21:21:02 +01:00
in
{
# Alternative BSP u-boot, with nvme support if desired
# * https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-pinebookpro
ubootPinebookPro = callPackage ./u-boot {};
ubootPinebookProExternalFirst = callPackage ./u-boot {
externalFirst = true;
};
# The unqualified kernel attr is deprecated.
linux_pinebookpro = throw "The linux_pinebookpro attribute has been replaced by linux_pinebookpro_latest.";
linuxPackages_pinebookpro = throw "The linuxPackages_pinebookpro attribute has been replaced by linuxPackages_pinebookpro_latest.";
2020-07-14 06:21:17 +02:00
linux_pinebookpro_latest = callPackage ./kernel/latest { kernelPatches = []; };
linuxPackages_pinebookpro_latest = linuxPackagesFor final.linux_pinebookpro_latest;
2020-07-14 21:34:31 +02:00
linux_pinebookpro_lts = callPackage ./kernel/lts { kernelPatches = []; };
linuxPackages_pinebookpro_lts = linuxPackagesFor final.linux_pinebookpro_lts;
2020-01-07 21:09:54 +01:00
pinebookpro-firmware = callPackage ./firmware {};
2020-01-07 21:58:19 +01:00
pinebookpro-keyboard-updater = callPackage ./keyboard-updater {};
# Aliases
# Renamed to better follow the Nixpkgs naming scheme.
uBootPinebookPro = renamed "uBootPinebookPro" "ubootPinebookPro";
uBootPinebookProExternalFirst = renamed "uBootPinebookProExternalFirst" "ubootPinebookProExternalFirst";
2020-01-06 21:21:02 +01:00
}