atop: use substituteInPlace instead of sed
This commit is contained in:
parent
3b0bc54131
commit
033cdffa9b
@ -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" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user