* Get rid of $findUnpacker, it's pointless anyway.

* Pass the source file to $unpackCmd via $curSrc.

svn path=/nixpkgs/trunk/; revision=12748
This commit is contained in:
Eelco Dolstra
2008-08-27 15:22:33 +00:00
parent b35469a42e
commit cee9051b7c
3 changed files with 14 additions and 16 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
md5 = "5e1be9dbde66295821ac7899f2e1f561";
};
unpackCmd = "(mkdir cron && cd cron && sh $src)";
unpackCmd = "(mkdir cron && cd cron && sh $curSrc)";
preBuild = "
substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755