Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { pkgs, ... }:
- {
- boot.kernelPackages = let
- linux_opi3_pkg = { fetchurl, buildLinux, ... } @ args:
- buildLinux (args // rec {
- version = "5.10.0-rc2";
- modDirVersion = version;
- src = pkgs.fetchFromGitHub {
- owner = "megous";
- repo = "linux";
- rev = "8504203b708b17381ffdf0941656f4617ef2bc87";
- sha256 = "1m5285l66sa689dx9n85gqwk2lv41h00mq3qycips8hkcgf8nccx";
- };
- kernelPatches = [];
- #extraConfig = ''
- # INTEL_SGX y
- #'';
- extraMeta.branch = "orange-pi-5.10";
- } // (args.argsOverride or {}));
- linux_opi3 = pkgs.callPackage linux_opi3_pkg{};
- in
- pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linux_opi3);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement