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:
parent
12fd6d00f8
commit
6b7b8ae98a
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
''; # */
|
||||
|
||||
|
|
Loading…
Reference in a new issue