gmnisrv: mime-types -> mailcap

This commit is contained in:
Sandro Jäckel 2022-01-25 11:08:16 +01:00 committed by Jonathan Ringer
parent 6d8df0003c
commit ac2f732626

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromSourcehut, pkg-config, openssl, mime-types, scdoc }:
{ stdenv, lib, fetchFromSourcehut, pkg-config, openssl, mailcap, scdoc }:
stdenv.mkDerivation rec {
pname = "gmnisrv";
@ -16,9 +16,9 @@ stdenv.mkDerivation rec {
--replace "pkg-config" "${stdenv.cc.targetPrefix}pkg-config"
'';
MIMEDB = "${mime-types}/etc/mime.types";
MIMEDB = "${mailcap}/etc/mime.types";
nativeBuildInputs = [ pkg-config scdoc ];
buildInputs = [ openssl mime-types ];
buildInputs = [ openssl mailcap ];
meta = with lib; {
description = "A simple Gemini protocol server";