kea: fix substituteInPlace usage

Changed files
+2 -2
pkgs
tools
networking
+2 -2
pkgs/tools/networking/kea/default.nix
···
patches = [ ./dont-create-var.patch ];
postPatch = ''
-
substituteInPlace ./src/bin/keactrl/Makefile.am '@sysconfdir@' "$out/etc"
-
substituteInPlace ./src/bin/keactrl/Makefile.am '@(sysconfdir)@' "$out/etc"
+
substituteInPlace ./src/bin/keactrl/Makefile.am --replace '@sysconfdir@' "$out/etc"
+
substituteInPlace ./src/bin/keactrl/Makefile.am --replace '@(sysconfdir)@' "$out/etc"
'';
configureFlags = [