add extrarpms to build-products of rpm build

svn path=/nixpkgs/trunk/; revision=17581
This commit is contained in:
Rob Vermaas 2009-10-01 19:25:08 +00:00
parent 6dc37e4aaf
commit 3cfbaaba4b

View File

@ -29,6 +29,9 @@ vmTools.buildRPM (
for i in $out/rpms/*/*.rpm; do
echo "file rpm $i" >> $out/nix-support/hydra-build-products
done
for rpmdir in $extraRPMs ; do
echo "file rpm $(ls $rpmdir/rpms/*/*.rpm | grep -v 'src\.rpm' | sort | head -1)" >> $out/nix-support/hydra-build-products
done
''; # */
meta = (if args ? meta then args.meta else {}) // {