Merge pull request #163404 from jasom/notmuch-bower/runtime-deps

notmuch-bower: Add runtime dependencies
This commit is contained in:
Florian Klink 2024-01-10 12:18:26 +02:00 committed by GitHub
commit 4f4420dfc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, mercury, pandoc, ncurses, gpgme }:
{ lib, stdenv, fetchFromGitHub, mercury, pandoc, ncurses, gpgme, coreutils, file }:
stdenv.mkDerivation rec {
pname = "notmuch-bower";
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ mercury pandoc ];
postPatch = ''
substituteInPlace src/compose.m --replace 'shell_quoted("base64' 'shell_quoted("${coreutils}/bin/base64'
substituteInPlace src/detect_mime_type.m --replace 'shell_quoted("file' 'shell_quoted("${file}/bin/file'
'';
buildInputs = [ ncurses gpgme ];