1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/os-specific/linux/kernel/linux-2.6.25.nix

26 lines
633 B
Nix
Raw Normal View History

args @ {stdenv, fetchurl, userModeLinux ? false, ...}:
import ./generic.nix (
rec {
version = "2.6.25.17";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
sha256 = "15jx163rryvvdy65wgfpws8l5cqrczfygsz6v5280i5glhy1dh77";
};
features = {
iwlwifi = true;
};
config =
if userModeLinux then ./config-2.6.25-uml else
if stdenv.system == "i686-linux" then ./config-2.6.25-i686-smp else
if stdenv.system == "x86_64-linux" then ./config-2.6.25-x86_64-smp else
abort "No kernel configuration for your platform!";
}
// args
)