system-sendmail: deprecate phases (#131108)

This commit is contained in:
Felix Bühler 2021-07-22 18:52:34 +02:00 committed by GitHub
parent 7e3d130d0d
commit 7d3e3ab81f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,9 @@ stdenv.mkDerivation {
src = script;
phases = [ "buildPhase" ];
dontUnpack = true;
dontInstall = true;
buildPhase = ''
mkdir -p $out/bin
< $src sed "s#{{MYPATH}}#$out/bin/sendmail#" > $out/bin/sendmail