postfix: fix etc/etc path

This commit is contained in:
Nikolay Amiantov 2016-01-20 16:40:15 +03:00
parent 23c5fbf7cb
commit dd09d2357c

View File

@ -63,7 +63,7 @@ in stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
mkdir -p $out mkdir -p $out
mv -v installdir/$out/* $out/ mv -v installdir/$out/* $out/
mv -v installdir/etc $out/etc cp -rv installdir/etc $out
sed -e '/^PATH=/d' -i $out/libexec/postfix/post-install sed -e '/^PATH=/d' -i $out/libexec/postfix/post-install
wrapProgram $out/libexec/postfix/post-install \ wrapProgram $out/libexec/postfix/post-install \
--prefix PATH ":" ${coreutils}/bin:${findutils}/bin:${gnugrep}/bin --prefix PATH ":" ${coreutils}/bin:${findutils}/bin:${gnugrep}/bin