Skip to content

Commit

Permalink
Merge pull request NixOS#163404 from jasom/notmuch-bower/runtime-deps
Browse files Browse the repository at this point in the history
notmuch-bower: Add runtime dependencies
  • Loading branch information
flokli authored Jan 10, 2024
2 parents 94b6491 + b8060bf commit 4f4420d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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 ];

Expand Down

0 comments on commit 4f4420d

Please sign in to comment.