summary refs log tree commit diff
path: root/fleet/pkgs/overlay.nix
blob: 1f645f0d7488ed9a205375202b0f98fe1b056be2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-FileCopyrightText: V <v@unfathomable.blue>
# SPDX-License-Identifier: OSL-3.0

final: prev: {
  cgiserver = final.callPackage ./cgiserver {};
  declarative-git-repository = final.callPackage ./declarative-git-repository {};
  public-inbox = final.perlPackages.callPackage ./public-inbox {};
  public-inbox-init-lite = final.callPackage ./public-inbox-init-lite {};

  # Fixes bundler complaining loudly if $HOME is read-only or unset
  # Taken from https://github.com/rubygems/rubygems/pull/4724
  # This is here because the CGit about filter invokes Asciidoctor,
  # which otherwise causes its log to fill with spurious error messages.
  # Can be removed once Bundler 2.2.23 or above makes its way into stable.
  bundler = prev.bundler.overrideAttrs ({ patches ? [], ... }: {
    patches = patches ++ [ ./permission-warnings-only-when-necessary.patch ];
    dontBuild = false;
  });

  # Fixes archives having silly permissions due to Postfix messing with the umask
  mlmmj = prev.mlmmj.overrideAttrs ({ patches ? [], ... }: {
    patches = patches ++ [ ./group-readable-archives.patch ];
  });
}