summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2022-09-25 21:05:38 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-09-25 21:09:18 +0200
commit31593237f6aa82ce29e0ecf1911e64713e21ddcb (patch)
tree359bba55e5c2352fc55ecb35c9e21eccd46ab9b2 /gnu
parent1f63c5709c355528b5987a98e0765d1509b7d2bf (diff)
downloadguix-31593237f6aa82ce29e0ecf1911e64713e21ddcb.tar.gz
gnu: emacs-orgmdb: Add missing input.
* gnu/packages/emacs-xyz.scm (emacs-orgmdb)[arguments]: Avoid propagating FD.
[inputs]: Add FD.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index eb6879b3b9..788c31bca4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6052,6 +6052,18 @@ their original location with another.")
          "1hvxha0ih9jhvwj07l6jnpf2vzhgvb6ii73g49c8saxld61l0frf"))
        (file-name (git-file-name name version))))
     (build-system emacs-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'configure
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "orgmdb.el"
+                     (("\"fd ")
+                      (string-append "\""
+                                     (search-input-file inputs "/bin/fd")
+                                     " "))))))))
+    (inputs
+     (list fd))
     (propagated-inputs
      (list emacs-dash emacs-org emacs-s))
     (home-page "https://github.com/isamert/orgmdb.el")