diff options
author | Julien Moutinho <julm+nixpkgs@sourcephile.fr> | 2022-10-02 04:16:09 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-06-04 13:09:28 +0000 |
commit | 4fdd015c769c72adf92f85df7b0db427e6b17f6d (patch) | |
tree | d5b75cd8b4af677cc6a112affd2163dbd70ada1b /pkgs/servers/mail | |
parent | cbbfccd31277c5689e985204921285857705d4cd (diff) |
public-inbox: fix InlineC
Co-authored-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'pkgs/servers/mail')
-rw-r--r-- | pkgs/servers/mail/public-inbox/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/servers/mail/public-inbox/default.nix b/pkgs/servers/mail/public-inbox/default.nix index a70ef432fc49b..c23f1c58354a2 100644 --- a/pkgs/servers/mail/public-inbox/default.nix +++ b/pkgs/servers/mail/public-inbox/default.nix @@ -6,6 +6,7 @@ , gnumake , highlight , libgit2 +, libxcrypt , man , openssl , pkg-config @@ -137,12 +138,14 @@ buildPerlPackage rec { installTargets = [ "install" ]; postInstall = '' for prog in $out/bin/*; do - wrapProgram $prog --prefix PATH : ${lib.makeBinPath [ - git - /* for InlineC */ - gnumake - stdenv.cc.cc - ]} + wrapProgram $prog \ + --set NIX_CFLAGS_COMPILE_${stdenv.cc.suffixSalt} -I${lib.getDev libxcrypt}/include \ + --prefix PATH : ${lib.makeBinPath [ + git + /* for InlineC */ + gnumake + stdenv.cc + ]} done mv sa_config $sa_config |