* Removed selectVersion. There's no good reason to write

`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'.
* Replaced `with args' with formal function arguments in several
  packages.
* Renamed several files to `default.nix'.  As a general rule, version
  numbers should only be included in the filename when there is a
  reason to keep multiple versions of a package in Nixpkgs.
  Otherwise, it just makes it harder to update the package.

svn path=/nixpkgs/trunk/; revision=18403
This commit is contained in:
Eelco Dolstra
2009-11-18 09:39:59 +00:00
parent 52e9488541
commit 7f5b839524
73 changed files with 375 additions and 551 deletions
@@ -13,11 +13,11 @@ args : with args;
let
doCopy = fullDepEntry ("
ensureDir \$out/share/qemu-images
cp linux-${version}.img \$out/share/qemu-images/
cp linux-0.2.img \$out/share/qemu-images/
") [minInit doUnpack defEnsureDir];
in
stdenv.mkDerivation rec {
name = "QEmu-Linux-Image-"+version;
name = "QEmu-Linux-Image-0.2";
builder = writeScript (name + "-builder")
(textClosure localDefs [doCopy doForceShare doPropagate]);
meta = {