aboutsummaryrefslogtreecommitdiff
path: root/pkgs/os-specific/linux/ndiswrapper/default.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-06-15 15:11:19 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-06-15 15:11:19 +0000
commit9bb2afe7783d46feac08e96bee023246b1d02bc3 (patch)
treed8853b76d30b88a55bbfccdf5b468e1ac4e7b5e9 /pkgs/os-specific/linux/ndiswrapper/default.nix
parent828809a89c32be63844a84f51d544913960fa7eb (diff)
Now ndiswrapper builds at least..
svn path=/nixpkgs/trunk/; revision=12101
Diffstat (limited to '')
-rw-r--r--pkgs/os-specific/linux/ndiswrapper/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/ndiswrapper/default.nix b/pkgs/os-specific/linux/ndiswrapper/default.nix
index f3bc9c4dd313..00672cc29b5b 100644
--- a/pkgs/os-specific/linux/ndiswrapper/default.nix
+++ b/pkgs/os-specific/linux/ndiswrapper/default.nix
@@ -1,18 +1,22 @@
args: with args;
stdenv.mkDerivation {
- name = "ndiswrapper-1.49-stable";
+ name = "ndiswrapper-1.53-stable";
# need at least .config and include
inherit kernel;
buildPhase = "
- make KBUILD=\$kernel/lib/modules/*/build;
+ echo make KBUILD=$(echo \$kernel/lib/modules/*/build);
+ echo -n $kernel/lib/modules/*/build > kbuild_path
+ make KBUILD=$(echo \$kernel/lib/modules/*/build);
";
+ installPhase = "make install KBUILD=$(cat kbuild_path) DESTDIR=$out";
+
# should we use unstable?
src = args.fetchurl {
- url = http://kent.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-1.49.tar.gz;
- sha256 = "1b9nqkk7gv6gffzj9b8mjy5myxf2afwpyr2n5wbfsylf15dvvvjr";
+ url = http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-1.53.tar.gz;
+ sha256 = "00622nxa3q9n8v7qdz274d0nzz9r13lx77xi27s5bnk0mkila03q";
};
buildInputs =[kernel];