mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
0b3d29d4ac
Co-authored-by: Nikolay Amiantov <ab@fmap.me> fixes #26038
24 lines
635 B
Nix
24 lines
635 B
Nix
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ncurses, ... } @ args:
|
|
|
|
assert stdenv.is64bit;
|
|
|
|
import ./generic.nix (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";
|
|
|
|
features.iwlwifi = true;
|
|
features.efiBootStub = true;
|
|
features.needsCifsUtils = true;
|
|
features.netfilterRPFilter = true;
|
|
|
|
extraMeta.hydraPlatforms = [];
|
|
} // (args.argsOverride or {}))
|