From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +hPyB3g8Y2Gx9wAAgWs5BA (envelope-from ) for ; Sun, 10 Oct 2021 21:18:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IBj9AXg8Y2EwHgAAB5/wlQ (envelope-from ) for ; Sun, 10 Oct 2021 19:18:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D1D1C2E641 for ; Sun, 10 Oct 2021 21:18:15 +0200 (CEST) Received: from localhost ([::1]:60938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZeKs-0003wr-UU for larch@yhetil.org; Sun, 10 Oct 2021 15:18:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZeKh-0003wF-Ha for guix-patches@gnu.org; Sun, 10 Oct 2021 15:18:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mZeKg-0001p1-A9 for guix-patches@gnu.org; Sun, 10 Oct 2021 15:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mZeKg-0006cf-1M for guix-patches@gnu.org; Sun, 10 Oct 2021 15:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51120] [PATCH] gnu: emacs-org-roam: Reference dot with absolute path. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 10 Oct 2021 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51120@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163389346025426 (code B ref -1); Sun, 10 Oct 2021 19:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Oct 2021 19:17:40 +0000 Received: from localhost ([127.0.0.1]:55867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZeKJ-0006c2-Qr for submit@debbugs.gnu.org; Sun, 10 Oct 2021 15:17:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:35996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZeKF-0006br-If for submit@debbugs.gnu.org; Sun, 10 Oct 2021 15:17:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZeKD-0003rH-Q3 for guix-patches@gnu.org; Sun, 10 Oct 2021 15:17:34 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:54382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZeKA-0001bt-Ej for guix-patches@gnu.org; Sun, 10 Oct 2021 15:17:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WHVlhidEd1MNHGVFFzyY2wPCyg8nSGHuGqis4emBSB4=; b=TBFOvb84dZd33uhf9dSYnmtqpg 1fUw0AGGDw6bmMJhOyu3AnOdq+dM8wvtWFIqOQ3z8XtqWoQuNS2NMEdzMcwjA0czvJvnlzxSFanWR 1nsbFXWl9/8jNbHFgyLA+0b+kc+QOeye8X4kO/c2KeFGtf7cTXqHx0TpR5l9Xq9CQEIPfnpGvC1T6 kSAV3z239ptnXx7DhjkWcQqCiSRXZ54vfxTWwDuXFoWfxpvypQXg9vl6Mb0Trcyszn00QaPn+tSih NFleSXiWEMbf/r5wpFGHe5r5+2Auocl/atsE8CPllmx/Ctp9O1EnTzjmsgGZAq7gd9tqNgA0VS4iI OOkfyI7Q==; Received: from [192.168.2.1] (port=47992 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mZeK2-000Nik-37; Mon, 11 Oct 2021 00:47:22 +0530 From: Arun Isaac Date: Mon, 11 Oct 2021 00:47:12 +0530 Message-Id: <20211010191712.13507-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633893495; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WHVlhidEd1MNHGVFFzyY2wPCyg8nSGHuGqis4emBSB4=; b=SpNaL/T4sCiXRk752TOSYZdyHyseT5F6qVcFUQi9IOtHGSFbzHvbbAsdc5xcUJSEcjcBzm NZZgSg7SncNi3bYxQhSIi0MwUKaROqUQNiJc5BlHpCDEr2X2oPFlS6MHw4Ddpmcv1EKQyb qQ2p6nchmhcts6D5nBbJ4dpz023WkHgcOmiISsBdeWHkMLF+7/4CVmOD/ok77X9jAtREUA Lqg5GE+xU/r6wP9mGBhDmZx1xkN8rMdepCAdSMITR4hLcExQWYRUD73OOvriyRiOEFAI/m tRBxnT373Og24bPSS7jXZoBfe+wHgBJN9OBVe8mHCL/4cyMfHwJA1OP3Vkvz9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633893495; a=rsa-sha256; cv=none; b=EnsVX9wdovd3dktyLc9Ik1762XargN42AfqYoQdl51UCUgJPdITeY0Ijd07L3ZO18gpZmn o4IXBn9gLAdhkiyHNWL2nqv8ZppJF7SCi4Rg3YhiMs5TFA1p7UWZxqkxOB06ch8TOVkbPv yDOVq6HxrcpADSoc45WDNonmDGC5929CFE3vTKzj7l4YVsFxAd9yp/sU4UlXTyXw5r5/BO EID0b3Se9CqoNOg5n2FufV+edqGiUWg0JNQx2oI3rS/BKyv0M0x+JYQa2KFS3BodDGoIzS rnRTn4h2inyyzeH8aWGwQBD5ULHFHOKtC0rdc2cc7erXo8+XBtUG7hAbzuvp/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=TBFOvb84; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=TBFOvb84; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D1D1C2E641 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2prJzveDTtPA * gnu/packages/emacs-xyz.scm (emacs-org-roam)[inputs]: Add graphviz. [arguments]: Add patch-exec-paths phase substituting absolute store path to dot. --- gnu/packages/emacs-xyz.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 582cfe4552..b12f861376 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -153,6 +153,7 @@ #:use-module (gnu packages guile) #:use-module (gnu packages gtk) #:use-module (gnu packages gnome) + #:use-module (gnu packages graphviz) #:use-module (gnu packages haskell-apps) #:use-module (gnu packages ibus) #:use-module (gnu packages java) @@ -28370,6 +28371,13 @@ snippets for Emacs.") (rename-file f (basename f))) el-files)) #t)) + (add-after 'move-source-files 'patch-exec-paths + (lambda* (#:key inputs #:allow-other-keys) + (make-file-writable "org-roam-graph.el") + (emacs-substitute-variables "org-roam-graph.el" + ("org-roam-graph-executable" + (string-append (assoc-ref inputs "graphviz") + "/bin/dot"))))) (add-after 'install 'install-image (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) @@ -28382,6 +28390,8 @@ snippets for Emacs.") (invoke "makeinfo" "-o" "org-roam.info" "org-roam.texi") (install-file "org-roam.info" (string-append out "/share/info"))))))))) + (inputs + `(("graphviz" ,graphviz))) (native-inputs `(("texinfo" ,texinfo))) (propagated-inputs -- 2.33.0