* Test whether we can successfully install and uninstall the Debian

package we just built.

svn path=/nixpkgs/trunk/; revision=14730
This commit is contained in:
Eelco Dolstra 2009-03-26 15:45:37 +00:00
parent dded641a1a
commit 5a8a90cd56

View File

@ -60,7 +60,10 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
shopt -s nullglob
for i in $out/debs/*.deb; do
header "Generated DEB package: $i"
dpkg-deb --info $i
dpkg-deb --info "$i"
pkgName=$(dpkg-deb -W "$i" | awk '{print $1}')
dpkg -i "$i"
dpkg -r "$pkgName"
echo "file deb $i" >> $out/nix-support/hydra-build-products
stopNest
done