* added pre-/postInstall hook to debbuild

svn path=/nixpkgs/trunk/; revision=15843
This commit is contained in:
Rob Vermaas 2009-06-03 18:33:04 +00:00
parent b49285ad27
commit 1fe82f7ff9

View file

@ -50,6 +50,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
'';
installPhase = ''
eval "$preInstall"
export LOGNAME=root
${checkinstall}/sbin/checkinstall --nodoc -y -D make install
@ -66,6 +67,8 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
echo "file deb $i" >> $out/nix-support/hydra-build-products
stopNest
done
eval "$postInstall"
''; # */
meta = (if args ? meta then args.meta else {}) // {