atop: use substituteInPlace instead of sed

This commit is contained in:
Paul Schyska
2021-05-17 13:58:50 +02:00
parent 3b0bc54131
commit 033cdffa9b
+2 -2
View File
@@ -49,8 +49,8 @@ stdenv.mkDerivation rec {
findutils=${findutils} systemd=${systemd} substituteAllInPlace "$f" findutils=${findutils} systemd=${systemd} substituteAllInPlace "$f"
done done
sed -e 's/chown/true/g' -i Makefile substituteInPlace Makefile --replace 'chown' 'true'
sed -e 's/chmod 04711/chmod 0711/g' -i Makefile substituteInPlace Makefile --replace 'chmod 04711' 'chmod 0711'
''; '';
installTargets = [ "systemdinstall" ]; installTargets = [ "systemdinstall" ];