1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

* Check whether any packages were generated. Apparently checkinstall

doesn't return a non-zero exit code if something goes wrong.

svn path=/nixpkgs/trunk/; revision=31258
This commit is contained in:
Eelco Dolstra 2012-01-03 22:25:46 +00:00
parent 30752215cd
commit 032617b0ab

View file

@ -68,6 +68,8 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
ensureDir $out/debs
find . -name "*.deb" -exec cp {} $out/debs \;
[ "$(echo $out/debs/*.deb)" != "" ]
for i in $out/debs/*.deb; do
header "Generated DEB package: $i"
dpkg-deb --info "$i"