git.iko.soy/typeable/nixpkgs
on master help sign in
atop: use substituteInPlace instead of sed
033cdffPaul Schyska
pkgs/os-specific/linux/atop/default.nix+2−2
@@ -49,8 +49,8 @@ stdenv.mkDerivation rec {
49 findutils=${findutils} systemd=${systemd} substituteAllInPlace "$f"
49 findutils=${findutils} systemd=${systemd} substituteAllInPlace "$f"
50 done
50 done
51
51
52− sed -e 's/chown/true/g' -i Makefile
52+ substituteInPlace Makefile --replace 'chown' 'true'
53− sed -e 's/chmod 04711/chmod 0711/g' -i Makefile
53+ substituteInPlace Makefile --replace 'chmod 04711' 'chmod 0711'
54 '';
54 '';
55
55
56 installTargets = [ "systemdinstall" ];
56 installTargets = [ "systemdinstall" ];