* added pre-/postInstall hook to debbuild
svn path=/nixpkgs/trunk/; revision=15843
This commit is contained in:
parent
b49285ad27
commit
1fe82f7ff9
|
@ -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 {}) // {
|
||||
|
|
Loading…
Reference in a new issue