kea: fix substituteInPlace usage

This commit is contained in:
Willi Butz 2017-08-02 19:05:20 +02:00 committed by Robin Gloster
parent b129c994c8
commit 33b9e68b1a
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
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 = [