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

View File

@@ -17,13 +17,13 @@ args : with args;
]
++ (if args ? mysql then [
" --with-mysql "
" --with-mysql-incdir=${mysql}/include/mysql "
" --with-mysql-libdir=${mysql}/lib/mysql "
" --with-mysql-incdir=${args.mysql}/include/mysql "
" --with-mysql-libdir=${args.mysql}/lib/mysql "
] else [])
++ (if args ? sqlite then [
" --with-sqlite "
" --with-sqlite-incdir=${sqlite}/include/sqlite "
" --with-sqlite-libdir=${sqlite}/lib/sqlite "
" --with-sqlite-incdir=${args.sqlite}/include/sqlite "
" --with-sqlite-libdir=${args.sqlite}/lib/sqlite "
] else [])
;
} null; /* null is a terminator for sumArgs */