debBuild: Allow setting a maintainer address
This commit is contained in:
parent
de9ed78ab2
commit
77376a215e
|
@ -51,7 +51,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
eval "$preInstall"
|
eval "$preInstall"
|
||||||
export LOGNAME=root
|
export LOGNAME=root
|
||||||
|
|
||||||
${checkinstall}/sbin/checkinstall --nodoc -y -D \
|
${checkinstall}/sbin/checkinstall --nodoc -y -D \
|
||||||
|
@ -59,6 +59,8 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||||
--requires="${concatStringsSep "," debRequires}" \
|
--requires="${concatStringsSep "," debRequires}" \
|
||||||
--provides="${concatStringsSep "," debProvides}" \
|
--provides="${concatStringsSep "," debProvides}" \
|
||||||
${optionalString (src ? version) "--pkgversion=$(echo ${src.version} | tr _ -)"} \
|
${optionalString (src ? version) "--pkgversion=$(echo ${src.version} | tr _ -)"} \
|
||||||
|
''${debMaintainer:+--maintainer="'$debMaintainer'"} \
|
||||||
|
$checkInstallFlags \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
mkdir -p $out/debs
|
mkdir -p $out/debs
|
||||||
|
@ -79,7 +81,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
|
||||||
echo "file deb-extra $(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
|
done
|
||||||
|
|
||||||
eval "$postInstall"
|
eval "$postInstall"
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
meta = (if args ? meta then args.meta else {}) // {
|
meta = (if args ? meta then args.meta else {}) // {
|
||||||
|
|
Loading…
Reference in a new issue