Skip to content

Instantly share code, notes, and snippets.

@Thra11
Created July 24, 2019 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Thra11/7811ac52baba0cb334c5624b697e69fc to your computer and use it in GitHub Desktop.
Save Thra11/7811ac52baba0cb334c5624b697e69fc to your computer and use it in GitHub Desktop.
{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, modDirVersionArg ? null, ... } @ args:
with stdenv.lib;
(buildLinux (args // rec {
version = "3.10.0";
modDirVersion = version;
extraMeta.branch = "rel3";
src = fetchFromGitHub {
owner = "OLIMEX";
repo = "DIY-LAPTOP";
rev = "6b903740d7f395827b4b746dc384b079698c4019";
sha256 = "0g9a87im7incg0kkxaplp1lhyxrjfixq2z6bzv172sw5adjhqz5z";
};
defconfig = "olimex_teres1_defconfig";
} // (args.argsOverride or {}))).overrideAttrs (old: {
sourceRoot = "source/SOFTWARE/A64-TERES/linux-a64";
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment