mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
fail2ban: remove unnecessary substituteInPlace
`substituteInPlace` was operating on non-existant files.
This commit is contained in:
parent
a37d695c95
commit
afbeda22d5
@ -17,11 +17,6 @@ pythonPackages.buildPythonApplication {
|
||||
++ (stdenv.lib.optional stdenv.isLinux pythonPackages.systemd);
|
||||
|
||||
preConfigure = ''
|
||||
for i in fail2ban-client fail2ban-regex fail2ban-server; do
|
||||
substituteInPlace $i \
|
||||
--replace /usr/share/fail2ban $out/share/fail2ban
|
||||
done
|
||||
|
||||
for i in config/action.d/sendmail*.conf; do
|
||||
substituteInPlace $i \
|
||||
--replace /usr/sbin/sendmail sendmail \
|
||||
|
Loading…
Reference in New Issue
Block a user