mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-05 18:49:41 +01:00
4a46accd02
This better reflects Nixpkgs
33 lines
1.4 KiB
Nix
33 lines
1.4 KiB
Nix
final: super:
|
|
|
|
let
|
|
inherit (final) callPackage kernelPatches linuxPackagesFor;
|
|
renamed = old: new: builtins.trace "The ${old} attribute name is deprecated. Prefer using ${new}." final.${new};
|
|
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.";
|
|
|
|
linux_pinebookpro_latest = callPackage ./kernel/latest { kernelPatches = []; };
|
|
linuxPackages_pinebookpro_latest = linuxPackagesFor final.linux_pinebookpro_latest;
|
|
|
|
linux_pinebookpro_lts = callPackage ./kernel/lts { kernelPatches = []; };
|
|
linuxPackages_pinebookpro_lts = linuxPackagesFor final.linux_pinebookpro_lts;
|
|
|
|
pinebookpro-firmware = callPackage ./firmware {};
|
|
pinebookpro-keyboard-updater = callPackage ./keyboard-updater {};
|
|
|
|
# Aliases
|
|
|
|
# Renamed to better follow the Nixpkgs naming scheme.
|
|
uBootPinebookPro = renamed "uBootPinebookPro" "ubootPinebookPro";
|
|
uBootPinebookProExternalFirst = renamed "uBootPinebookProExternalFirst" "ubootPinebookProExternalFirst";
|
|
}
|