From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id w/ENNokz/2PLdwAAbAwnHQ (envelope-from ) for ; Wed, 01 Mar 2023 12:14:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yH9BNYkz/2OiSQEAauVa8A (envelope-from ) for ; Wed, 01 Mar 2023 12:14:17 +0100 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 3E5BD43F45 for ; Wed, 1 Mar 2023 12:14:17 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=DuHZcuoz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677669257; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=n4whVXy2Ca+eQ0mB4ythHKatw9ykSTCrS+4FEK6ZtoE=; b=nTf7EyyRNvV62Ybv4ESxH0vNFiKS185NnozSe4WQHFAScG3yQHWVPScdGLvEl7+z3YwwED obam9eI2RmNy+CEQfP+mBfvW1Lvf1rIPUmF9DDKhi0oRuuMOAyR6JjhkQo+NT53JD9C6TH 8CPGjapRi1c8oRNj7RQYC0D2+j2Hl0YaaShJAVCGjhgbtOVWDjYJCbxyxjXScb6MLwie/V qRG+GoHPJQ/5WLPdB+cFdtvrZ9DYZBaTx6H+wa+bkOxFMi/VHY6NyLLpZIOBVGbF+7hS5y 3C6StQW2RJn+KlgpmbnoqErlIMbGMEIOm/OnBPcGZFGFXnOsXhMSAob/2DOeJw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=DuHZcuoz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1677669257; a=rsa-sha256; cv=fail; b=FW+l3dJFZDPPWpSoZxCGdqCBC6WqRx+poZ0P1ipFPrQ4latd6yZ++ZXQP+qtfYKJdIbBLB Y73sU0w7Vk+pQISDC/AF9eK2LWw/9TWs6o36wQpD6JDu0OABWnqFFhCK8kDdFwgPh/jJFE Om2YOGvJffMyKy5XrLC2SHm/K9Y5PCkjb/wTZ60gmH2ubJmNaG15SPaZFlisDxG2pO7Hhe x0R8RVsYOvhfcFrA5xMP1xSWwaUOOGdpOwe+UqNDlo8puivWlitQsvw29MGM+C+SpT/y3F S69IvfHm8xroAfvVzk1EC4WOfk/AsGPoekN89clJS0ZBqX0DsbvTjWmLZKtPNw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXKPO-0005gY-3U; Wed, 01 Mar 2023 06:14:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXKPM-0005gI-Rf for guix-patches@gnu.org; Wed, 01 Mar 2023 06:14:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXKPK-0001Vy-Js for guix-patches@gnu.org; Wed, 01 Mar 2023 06:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXKPK-0003oo-6b for guix-patches@gnu.org; Wed, 01 Mar 2023 06:14:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61838] [PATCH v2 01/13] gnu: Add r-simplermarkdown. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Mar 2023 11:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?M=C4=83d=C4=83lin?= Ionel =?UTF-8?Q?Patra=C8=99cu?= Cc: 61838@debbugs.gnu.org X-Debbugs-Original-Cc: debbugs-submit@debbugs.gnu.org, 61838@debbugs.gnu.org Received: via spool by 61838-submit@debbugs.gnu.org id=B61838.167766920714606 (code B ref 61838); Wed, 01 Mar 2023 11:14:02 +0000 Received: (at 61838) by debbugs.gnu.org; 1 Mar 2023 11:13:27 +0000 Received: from localhost ([127.0.0.1]:52847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXKOk-0003nV-Lo for submit@debbugs.gnu.org; Wed, 01 Mar 2023 06:13:26 -0500 Received: from sender3-of-o59.zoho.com ([136.143.184.59]:21955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXKOi-0003nH-3A; Wed, 01 Mar 2023 06:13:24 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1677669200; cv=none; d=zohomail.com; s=zohoarc; b=Qd8mYUMd+r7G1g70MAFSHRYxoTHVCkjAGnCqI6mvKQMEtp6ggqe5DR1UX29mnAl1Eljjz0TgZTTEma7FdkBBibNyRyb/dQRDYhdi9Exh2gZThiBV6I/AT+D/AVuR0+kkBnonOTD6WVdsOojGaqucZJXHRAQLi58l0S4WiFq4KkE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677669200; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=n4whVXy2Ca+eQ0mB4ythHKatw9ykSTCrS+4FEK6ZtoE=; b=kPx2xBLrWBE3qMorE4rvLYvar2ZEA5BnLMAlUZAw8AaBIhRJt7/njgVNpYzGCxg8OvEh6oSr+qaKD3NfV6pBLIBv+ySaQiC/2jK22Pz9xz5J/8dlq5udBV0a3CEdYcUwDjIHztDoBLQ1zwZm2BTqx50kQmQQSQFQT1swdGqCF64= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1677669200; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=n4whVXy2Ca+eQ0mB4ythHKatw9ykSTCrS+4FEK6ZtoE=; b=DuHZcuozQoRR4fGTy1SmyyW1SUgfva1FvZkE6Cukpd/fD089tGNTgVQ6mYgJtyJ/ CGKsgvBb0DACk41N5EtInX64YMFTMByXs8soph2xGXgZjgSpX10Q+LchkerJwBI+GI4 XyCw49XL0oT8MOxM4a9f17Uoi0yfNPeyDodnnMGA= Received: from localhost (i5E862DA7.versanet.de [94.134.45.167]) by mx.zohomail.com with SMTPS id 1677669196511271.7924708518607; Wed, 1 Mar 2023 03:13:16 -0800 (PST) References: <669c9a4b05f74824b87f3bb57fd23c98@mdc-berlin.de> <20230227204249.1906-1-madalinionel.patrascu@mdc-berlin.de> User-agent: mu4e 1.8.13; emacs 28.2 From: Ricardo Wurmus Date: Wed, 01 Mar 2023 12:07:20 +0100 In-reply-to: <20230227204249.1906-1-madalinionel.patrascu@mdc-berlin.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87sfeog1x2.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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: X-Migadu-Spam-Score: -0.19 X-Spam-Score: -0.19 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 3E5BD43F45 List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: XvW9C0imo2v+ M=C4=83d=C4=83lin Ionel Patra=C8=99cu = writes: > * gnu/packages/cran.scm (r-simplermarkdown): New variable. Thanks for the update. Turns out we cannot easily patch references to the pandoc executable. I tried this: --8<---------------cut here---------------start------------->8--- (arguments (list #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-pandoc-invocations (lambda* (#:key inputs #:allow-other-keys) (let ((pandoc (search-input-file inputs "/bin/pandoc"))) (substitute* '("R/mdtangle.R" "R/mdweave.R" "R/mdweave_to.R") (("'pandoc ") (string-append "'" pandoc " "))) (substitute* "R/has_pandoc.R" (("Sys.which\\(\"pandoc\"\\)") (string-append "\"" pandoc "\""))))))))) --8<---------------cut here---------------end--------------->8--- This works, but the resulting output no longer has any references to /gnu/store/=E2=80=A6-pandoc=E2=80=A6/bin/pandoc. That=E2=80=99s because no= ne of these files make it to the output. Instead they all seemingly get squished into a pair of simplermarkdown.rdx and .rdb files, which are compressed. So it is safer to propagate pandoc. This may point to a general problem with the r-build-system that we may need to investigate later. --=20 Ricardo