Skip to content

Commit

Permalink
Clean up line continuations
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed Sep 4, 2024
1 parent 09ae7ff commit 4d61ca6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/logwatch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ stdenvNoCC.mkDerivation {
''
# Fix paths
substituteInPlace install_logwatch.sh \
--replace-fail "/usr/share" "$out/usr/share" \
--replace-fail "/etc/logwatch" "$out/etc/logwatch" \
--replace-fail "/usr/share" "$out/usr/share" \
--replace-fail "/etc/logwatch" "$out/etc/logwatch" \
--replace-fail "/usr/bin/perl" "${lib.getExe perl}" \
--replace-fail " perl " " ${lib.getExe perl} " \
--replace-fail "/usr/sbin" "$out/bin" \
--replace-fail "/usr/sbin" "$out/bin" \
--replace-fail "install -m 0755 -d \$TEMPDIR" ":"
''
+ lib.optionalString (tag == null) ''
Expand All @@ -90,8 +90,8 @@ stdenvNoCC.mkDerivation {

postFixup = ''
substituteInPlace $out/bin/logwatch \
--replace-fail "/usr/share" "$out/usr/share" \
--replace-fail "/etc/logwatch" "$out/etc/logwatch" \
--replace-fail "/usr/share" "$out/usr/share" \
--replace-fail "/etc/logwatch" "$out/etc/logwatch" \
--replace-fail "/usr/bin/perl" "${lib.getExe perl}" \
--replace-fail "/var/cache" "/tmp"
Expand Down

0 comments on commit 4d61ca6

Please sign in to comment.