3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/kernel/linux-samus-4.12.nix
John Ericson 0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00

17 lines
483 B
Nix

{ stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, ncurses, ... } @ args:
buildLinux (args // rec {
version = "4.12.2";
extraMeta.branch = "4.12-2";
src =
let upstream = fetchFromGitHub {
owner = "raphael";
repo = "linux-samus";
rev = "v${extraMeta.branch}";
sha256 = "1dr74i79p8r13522w2ppi8gnjd9bhngc9d2hsn91ji6f5a8fbxx9";
}; in "${upstream}/build/linux";
extraMeta.platforms = [ "x86_64-linux" ];
} // (args.argsOverride or {}))