* 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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user