* 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 = ''
|
installPhase = ''
|
||||||
|
eval "$preInstall"
|
||||||
export LOGNAME=root
|
export LOGNAME=root
|
||||||
|
|
||||||
${checkinstall}/sbin/checkinstall --nodoc -y -D make install
|
${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
|
echo "file deb $i" >> $out/nix-support/hydra-build-products
|
||||||
stopNest
|
stopNest
|
||||||
done
|
done
|
||||||
|
|
||||||
|
eval "$postInstall"
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
meta = (if args ? meta then args.meta else {}) // {
|
meta = (if args ? meta then args.meta else {}) // {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user