diff options
author | Florian Klink <flokli@flokli.de> | 2024-01-10 12:18:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 12:18:26 +0200 |
commit | 4f4420dfc3a09f3f01ca3edf94fa349cd8bf7335 (patch) | |
tree | ac04495abc80d7b565c0081390e432a519d0271f /pkgs/applications/networking/mailreaders | |
parent | 94b649180efc810874d7ab90ba620dfcbec228e7 (diff) | |
parent | b8060bf715f6e2505d10d48b96c231fc94fb08dc (diff) |
Merge pull request #163404 from jasom/notmuch-bower/runtime-deps
notmuch-bower: Add runtime dependencies
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r-- | pkgs/applications/networking/mailreaders/notmuch-bower/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix b/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix index 235991396f57d..79b553a5dc920 100644 --- a/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix +++ b/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix @@ -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 ]; |