Motiejus Jakštys 2024-06-05 10:10:05 +03:00
parent 32dcf4e9dd
commit 54a3a31478

View File

@ -4,15 +4,16 @@
pkgs, pkgs,
modulesPath, modulesPath,
... ...
}: let }:
#crossFast = pkgs.crossArm64.pkgsCross.aarch64-multiplatform; #let
crossNative = pkgs.pkgsCross.aarch64-multiplatform; #crossFast = pkgs.crossArm64.pkgsCross.aarch64-multiplatform;
in { #in
{
mj.skipPerf = true; mj.skipPerf = true;
boot = { boot = {
#kernelPackages = crossNative.linuxPackagesFor (crossFast.buildLinux rec { #kernelPackages = crossNative.linuxPackagesFor (crossFast.buildLinux rec {
kernelPackages = crossNative.linuxPackagesFor (crossNative.buildLinux rec { kernelPackages = pkgs.linuxPackagesFor (pkgs.buildLinux rec {
version = "6.9.0-rc1"; version = "6.9.0-rc1";
modDirVersion = "6.9.0-rc1"; modDirVersion = "6.9.0-rc1";
@ -59,6 +60,6 @@ in {
inherit config lib pkgs; inherit config lib pkgs;
}; };
#uboot = crossFast.callPackage ../../hacks/orangepi5plus/uboot {}; #uboot = crossFast.callPackage ../../hacks/orangepi5plus/uboot {};
uboot = crossNative.callPackage ../../hacks/orangepi5plus/uboot {}; uboot = pkgs.callPackage ../../hacks/orangepi5plus/uboot {};
}; };
} }