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