From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id RkM7LwxWhWAKFAAAgWs5BA (envelope-from ) for ; Sun, 25 Apr 2021 13:44:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6DrgKQxWhWCTagAAB5/wlQ (envelope-from ) for ; Sun, 25 Apr 2021 11:44:12 +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 218F613653 for ; Sun, 25 Apr 2021 13:44:12 +0200 (CEST) Received: from localhost ([::1]:54656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ladBK-0006i5-Ou for larch@yhetil.org; Sun, 25 Apr 2021 07:44:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33254) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ladBC-0006hw-CP for guix-patches@gnu.org; Sun, 25 Apr 2021 07:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ladBC-00056D-3U for guix-patches@gnu.org; Sun, 25 Apr 2021 07:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ladBC-0004B9-1N for guix-patches@gnu.org; Sun, 25 Apr 2021 07:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48016] [PATCH] gnu: direnv: Install manpages Resent-From: Dion Mendel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Apr 2021 11:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48016 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48016@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161935100616001 (code B ref -1); Sun, 25 Apr 2021 11:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Apr 2021 11:43:26 +0000 Received: from localhost ([127.0.0.1]:42159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ladAc-0004A1-Ig for submit@debbugs.gnu.org; Sun, 25 Apr 2021 07:43:26 -0400 Received: from lists.gnu.org ([209.51.188.17]:56268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ladAb-00049t-0C for submit@debbugs.gnu.org; Sun, 25 Apr 2021 07:43:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ladAY-0006gx-PJ for guix-patches@gnu.org; Sun, 25 Apr 2021 07:43:24 -0400 Received: from butterfly.birch.relay.mailchannels.net ([23.83.209.27]:57793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ladAU-0004hE-Ss for guix-patches@gnu.org; Sun, 25 Apr 2021 07:43:22 -0400 X-Sender-Id: dreamhost|x-authsender|smtp@dm9.info Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BE3E4702F3C for ; Sun, 25 Apr 2021 11:43:13 +0000 (UTC) Received: from pdx1-sub0-mail-a53.g.dreamhost.com (100-101-162-42.trex.outbound.svc.cluster.local [100.101.162.42]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0D47A702EBC for ; Sun, 25 Apr 2021 11:43:13 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|smtp@dm9.info Received: from pdx1-sub0-mail-a53.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.101.162.42 (trex/6.2.1); Sun, 25 Apr 2021 11:43:13 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|smtp@dm9.info X-MailChannels-Auth-Id: dreamhost X-Society-Towering: 034fcfcb4d5ac60f_1619350993630_4014365887 X-MC-Loop-Signature: 1619350993629:1124304498 X-MC-Ingress-Time: 1619350993629 Received: from pdx1-sub0-mail-a53.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a53.g.dreamhost.com (Postfix) with ESMTP id C9CF58473E for ; Sun, 25 Apr 2021 04:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=dm9.info; h=date:from:to :subject:message-id:mime-version:content-type; s=dm9.info; bh=X4 BpZEEefLQhEpFN9o/pgBVpwlI=; b=JNy3+ZNfSubp487IA2DizLtDRBHH6sj4Q2 x0ZNk1Vt4WDA3oYdmzP6d9eMIc0dyJpXpXC336Rj8rykfXt+qHElknyV1IBOma+/ S8OPO0eZJyMnqCQocEqDBf+otYrh2XVlyVVevq2qOOXeni73DXDgQywiPO8fqgDY pWOVcUhXI= Received: from mail.localdomain (61-245-140-70.3df58c.per.nbn.aussiebb.net [61.245.140.70]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: smtp@dm9.info) by pdx1-sub0-mail-a53.g.dreamhost.com (Postfix) with ESMTPSA id 89E6F83D90 for ; Sun, 25 Apr 2021 04:43:12 -0700 (PDT) Received: by mail.localdomain (Postfix, from userid 2001) id 6BC0150188A; Sun, 25 Apr 2021 19:43:08 +0800 (AWST) Date: Sun, 25 Apr 2021 19:43:08 +0800 X-DH-BACKEND: pdx1-sub0-mail-a53 From: Dion Mendel Message-ID: <20210425114308.GA16322@dm9.info> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Received-SPF: none client-ip=23.83.209.27; envelope-from=guix@dm9.info; helo=butterfly.birch.relay.mailchannels.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=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=1619351052; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=uGFL4athTo+3qrEnZHeZ5R+0bEAXROyzsbykTwvOH44=; b=s6YtOObSCOheSsPPBPDsZqczWoNTYVF3mtRlgFDTv7GDFIgzI73ACqqy4vPi0Ogd2Edbew 4L8VVOSBy8UX1RuIPQxl2/kNZWElZYMvM7IzcVWBP5X31XPKJZFzqrs4yINOCQn4MExgVh Slsk8v5/WjbDr2H2nlar7ReaFfaaUFRtY71XNBzMYG/IawgsRI/mYQdH/uiRDG9XB/fAox tSvhDRQts4f78NTyI7chw4TFwxE3TcQgDk2tkGg2JxjqYHP+EocKir/zdhmnXhwM/m0sWX NDE2cxJl+hNm2MvB4qGPUFn5peFbSoemM7YejfNx4irEt3mXgrgSSkfIpheGRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619351052; a=rsa-sha256; cv=none; b=hV/TCg3LGVkzX8kBM1iigWqdIXj8rxNub4U824tjr/+WDv+jcgfmi9Mqsdu8rH2maMUnBh 2ny1NboiOkPZSR9gS1msyPsajdjVMtHTGsjZlrjAhQQJDI9BEZEe/pcB3B/aKqLpeNG1pE eSc+yBhgVCyO9LTf4nmxTTiGYXn1/jvoeMKD6JvdmACHVDJNITapKEgCYvVF5rQHL23o2R feJGU8JEgvTROnqNekAmwvtSaTYQN9oZfZYIedjKB3d7o2LYNHQZpApG0E6lnSbPQD5jmp q+yom7l3kSD/I7/Y6Obq5TDVav2txOJ0kEl1t01j3KSDRlXKTcayZV1tbDn2pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dm9.info header.s=dm9.info header.b=JNy3+ZNf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=dm9.info (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: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dm9.info header.s=dm9.info header.b=JNy3+ZNf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=dm9.info (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: 218F613653 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: PITw0nWZm31G --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Hi guix, The direnv package has manpages in the source repository, yet none are currently installed. This patch installs the manpages. The patch was tested by installing and running direnv locally and viewing the manpages with man-db. --ZPt4rx8FFjLCG7dd Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-direnv-Install-manpages.patch" >From 87fbd9f5d183b1912db186e7c5879566267655b8 Mon Sep 17 00:00:00 2001 From: Dion Mendel Date: Sun, 25 Apr 2021 18:57:21 +0800 Subject: [PATCH] gnu: direnv: Install manpages * gnu/packages/shellutils.scm (direnv): Install manpages. --- gnu/packages/shellutils.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index c7a941dfa6..ec887e40fd 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -254,6 +254,17 @@ are already there.") ;; so delete the extra source code here. (delete-file-recursively "src/github.com/direnv/direnv/vendor") #t)) + (add-after 'install 'install-manpages + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (man (string-append out "/share/man/man1"))) + (mkdir-p man) + (with-directory-excursion "src/github.com/direnv/direnv" + (install-file "man/direnv.1" man) + (install-file "man/direnv-stdlib.1" man) + (install-file "man/direnv.toml.1" man) + ) + #t))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? -- 2.31.1 --ZPt4rx8FFjLCG7dd--