1
0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-06-02 02:53:35 +02:00
wip-pinebook-pro/overlay.nix

39 lines
1.6 KiB
Nix
Raw Permalink 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;
};
2020-07-15 01:48:51 +02:00
# Image to be written to SD to install to SPI.
pinebookpro-firmware-installer = callPackage ./u-boot/spi-installer.nix {
uboot = final.uBootPinebookPro;
};
# 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
}