diff options
author | Shea Levy <shea@shealevy.com> | 2012-03-20 00:02:24 +0000 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2012-03-20 00:02:24 +0000 |
commit | a74565238a0cac702a17bfb560753e89209b5e91 (patch) | |
tree | 955187978deb7e7dcc3ee1678d96e91722198c1c /pkgs/os-specific/linux/broadcom-sta | |
parent | 5f32e704bf7dd0489fc353c72a75eeb0e6f5180d (diff) | |
download | nixpkgs-a74565238a0cac702a17bfb560753e89209b5e91.tar nixpkgs-a74565238a0cac702a17bfb560753e89209b5e91.tar.gz nixpkgs-a74565238a0cac702a17bfb560753e89209b5e91.tar.bz2 nixpkgs-a74565238a0cac702a17bfb560753e89209b5e91.tar.lz nixpkgs-a74565238a0cac702a17bfb560753e89209b5e91.tar.xz nixpkgs-a74565238a0cac702a17bfb560753e89209b5e91.tar.zst nixpkgs-a74565238a0cac702a17bfb560753e89209b5e91.zip |
Linux 3.3 puts some of its headers in include/generated
svn path=/nixpkgs/trunk/; revision=33282
Diffstat (limited to 'pkgs/os-specific/linux/broadcom-sta')
-rw-r--r-- | pkgs/os-specific/linux/broadcom-sta/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/broadcom-sta/default.nix b/pkgs/os-specific/linux/broadcom-sta/default.nix index 1c557301729..ff21b5d5254 100644 --- a/pkgs/os-specific/linux/broadcom-sta/default.nix +++ b/pkgs/os-specific/linux/broadcom-sta/default.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation { #(! builtins.lessThan (builtins.compareVersions kernel.version "2.6.37") 0) #[ ./mutex-sema.patch ]; + NIX_CFLAGS_COMPILE = "-I${kernel}/lib/modules/${kernel.modDirVersion}/build/include/generated"; + makeFlags = "KDIR=${kernel}/lib/modules/${kernel.modDirVersion}/build"; unpackPhase = |