Unverified Commit 4f4420df authored by Florian Klink's avatar Florian Klink Committed by GitHub
Browse files

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

notmuch-bower: Add runtime dependencies
parents 94b64918 b8060bf7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ 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 ];