3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #35177 from abbradar/fix-debbuild

debBuild: install all packages at once to avoid dependency management
This commit is contained in:
Jörg Thalheim 2018-02-20 11:07:44 +00:00 committed by GitHub
commit c7aa4fd65b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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