atop: use substituteInPlace instead of sed

This commit is contained in:
Paul Schyska 2021-05-17 13:46:55 +02:00
parent 3b0bc54131
commit 033cdffa9b
No known key found for this signature in database
GPG Key ID: D49D4F8259DB724F

View File

@ -49,8 +49,8 @@ stdenv.mkDerivation rec {
findutils=${findutils} systemd=${systemd} substituteAllInPlace "$f"
done
sed -e 's/chown/true/g' -i Makefile
sed -e 's/chmod 04711/chmod 0711/g' -i Makefile
substituteInPlace Makefile --replace 'chown' 'true'
substituteInPlace Makefile --replace 'chmod 04711' 'chmod 0711'
'';
installTargets = [ "systemdinstall" ];