mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
* 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:
parent
dded641a1a
commit
5a8a90cd56
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user