Make all-packages.nix instantiatable again (problem was with *Base packages that were only supposed as .meta.function carriers, so some critical arguments were omitted)

svn path=/nixpkgs/trunk/; revision=12628
This commit is contained in:
Michael Raskin
2008-08-14 22:18:44 +00:00
parent 99c46f200c
commit 65ce0411d8
2 changed files with 8 additions and 7 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
args : with args;
assert args ? kernel;
rec {
src = fetchurl {
url = http://ftg.lbl.gov/CheckpointRestart/downloads/blcr-0.6.5.tar.gz ;
@@ -7,9 +8,9 @@ rec {
buildInputs = [perl];
configureFlags = [
"--with-linux=$(ls -d ${kernel}/lib/modules/*/build)"
"--with-kmod-dir=$out/lib/modules/$(cd ${kernel}/lib/modules; ls -d 2.6.*)"
"--with-system-map=${kernel}/System.map"
"--with-linux=$(ls -d ${args.kernel}/lib/modules/*/build)"
"--with-kmod-dir=$out/lib/modules/$(cd ${args.kernel}/lib/modules; ls -d 2.6.*)"
"--with-system-map=${args.kernel}/System.map"
];
preConfigure = FullDepEntry (''