1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

give extraRPMs/-Debs file type rpm-extra or deb-extra in build products

svn path=/nixpkgs/trunk/; revision=17592
This commit is contained in:
Rob Vermaas 2009-10-02 09:49:53 +00:00
parent 12fd6d00f8
commit 6b7b8ae98a
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
done
for i in $extraDebs; do
echo "file deb $(ls $i/debs/*.deb | sort | head -1)" >> $out/nix-support/hydra-build-products
echo "file deb-extra $(ls $i/debs/*.deb | sort | head -1)" >> $out/nix-support/hydra-build-products
done
eval "$postInstall"

View file

@ -30,7 +30,7 @@ vmTools.buildRPM (
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
echo "file rpm-extra $(ls $rpmdir/rpms/*/*.rpm | grep -v 'src\.rpm' | sort | head -1)" >> $out/nix-support/hydra-build-products
done
''; # */