mailpit: move to pkgs/by-name

This commit is contained in:
Stéphan Kochen
2025-09-01 16:24:07 +02:00
parent 3f2761c053
commit a1fffa47eb
4 changed files with 4 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
nodejs, nodejs,
python3, python3,
libtool, libtool,
cctools,
npmHooks, npmHooks,
fetchFromGitHub, fetchFromGitHub,
fetchNpmDeps, fetchNpmDeps,
@@ -28,6 +29,8 @@ let
hash = source.hash; hash = source.hash;
}; };
libtool' = if stdenv.hostPlatform.isDarwin then cctools else libtool;
# Separate derivation, because if we mix this in buildGoModule, the separate # Separate derivation, because if we mix this in buildGoModule, the separate
# go-modules build inherits specific attributes and fails. Getting that to # go-modules build inherits specific attributes and fails. Getting that to
# work is hackier than just splitting the build. # work is hackier than just splitting the build.
@@ -43,7 +46,7 @@ let
nativeBuildInputs = [ nativeBuildInputs = [
nodejs nodejs
python3 python3
libtool libtool'
npmHooks.npmConfigHook npmHooks.npmConfigHook
]; ];

View File

@@ -3580,9 +3580,6 @@ with pkgs;
}; };
}; };
mailnagWithPlugins = mailnag.withPlugins (builtins.attrValues mailnag.availablePlugins); mailnagWithPlugins = mailnag.withPlugins (builtins.attrValues mailnag.availablePlugins);
mailpit = callPackage ../servers/mail/mailpit {
libtool = if stdenv.hostPlatform.isDarwin then cctools else libtool;
};
man = man-db; man = man-db;