From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UHDHMTTEumL3xgAAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 11:04:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cAXXMDTEumK/lwAAG6o9tA (envelope-from ) for ; Tue, 28 Jun 2022 11:04:52 +0200 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 7BAC42CD74 for ; Tue, 28 Jun 2022 11:04:52 +0200 (CEST) Received: from localhost ([::1]:39088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o679P-0000yc-Ai for larch@yhetil.org; Tue, 28 Jun 2022 05:04:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o66ce-0002OT-U2 for help-guix@gnu.org; Tue, 28 Jun 2022 04:31:02 -0400 Received: from flashner.co.il ([178.62.234.194]:59098) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o66cd-0004ty-47 for help-guix@gnu.org; Tue, 28 Jun 2022 04:31:00 -0400 Received: from localhost (unknown [141.226.14.191]) by flashner.co.il (Postfix) with ESMTPSA id 9CFAE4012F; Tue, 28 Jun 2022 08:30:26 +0000 (UTC) Date: Tue, 28 Jun 2022 11:29:53 +0300 From: Efraim Flashner To: jgart Cc: Guix Help Subject: Re: perl can't find more utils Message-ID: Mail-Followup-To: jgart , Guix Help References: <20220621223036.GB10488@gac> <20220622232354.GD7572@gac> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R7x4GbKKj2vDw7Lb" Content-Disposition: inline In-Reply-To: <20220622232354.GD7572@gac> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656407092; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=kVXaOIO/CuqZj63qzQanSuSIUSFklNyJzAroAc9UAl4=; b=e+FlXa1uprOpygqwYIKCNqU+Gfnhvs8ENTDRQqwXOy0PWI6ofuhi1ej2uYJ+3nvdvOE/aF sfhSQSW6CJNBusTL4z1gWZxt6mNxxntaByGXY6zUr1sZMQnns4kfhcjdA5QHt0zQOKB7i1 vrSuyOUEEPRQ2NuLj61dNFKm4BrM+U0F6WPOpnJJGVnqG3Ee4noRBxw8Y1IkS49awpdYnr WjvZg5B+0T1PeHKMbe0tj1aQ1t4gN8xB4OWGEHSZQARB0+L5ovsgAkSeCgcXt5IeC1J1A/ U7fmuVBOohLGzhD3Ai9AOjFWsk3O9XntLGJsbNFZeelOmbCXFW+Koy9H7BrGAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656407092; a=rsa-sha256; cv=none; b=c5cCawm4SEFR24/P/3kudIedZzzT+zqysJgvqhu9eCOmN2uEfQh/SyFNE2fWk9afFsWx/V u7adRLIx3JH27Kq/wVFy/SfiJ4mgPrBFEsyqlWq7ODRLKJuGFiNcHB0Y5xJilfC9o2fZtg x2dXdQoBXfbTIBUirDoejYmVlgAulM821VKcd5PMPYQZHhoN4RIAVof1/CYHjxISeXhvaL S1MPUKYG396DiTkguTxs+Zo0bJf5dsZuXNdqO59lNbkvIYBQCG1aqBFesgM2BZ5+oM3SpI hoK/1+hFYRb5mQHbdKPZhz/g0YeczswfNvzJhwidGATiJXBoOVLwJvb5/J5V8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7BAC42CD74 X-Spam-Score: -5.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: BIxDXLEPsLm+ --R7x4GbKKj2vDw7Lb Content-Type: multipart/mixed; boundary="iULsM/pfsJ6m1/aD" Content-Disposition: inline --iULsM/pfsJ6m1/aD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 22, 2022 at 11:23:54PM -0500, jgart wrote: > On Wed, 22 Jun 2022 10:22:32 +0300 Efraim Flashner wrote: >=20 > > Have you tried adding perl-list-moreutils to the package definition? >=20 > Hi Efraim, >=20 > Yes, I tried also and it still fails to find it. >=20 > wdyt Looks like you forgot to wrap the executable. Try the attached diff. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --iULsM/pfsJ6m1/aD Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="guitar-scale-chart.diff" diff --git a/guixrus/packages/misc.scm b/guixrus/packages/misc.scm index d6cbba9..9269830 100644 --- a/guixrus/packages/misc.scm +++ b/guixrus/packages/misc.scm @@ -52,6 +52,7 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages groff) #:use-module (gnu packages gtk) + #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages linux) #:use-module (gnu packages mercury) @@ -1306,9 +1307,22 @@ mouse hovers a specific date. Else, it shows the event for the current week.") (base32 "1ms34r7h78mv8v8z9n5dhwnlz61ckgjby962kv0mz40vhb47yv3h")))) (build-system perl-build-system) - (propagated-inputs - (list perl-list-allutils ; fails to find moreutils - perl-term-ansicolor)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (path (getenv "PERL5LIB"))) + (wrap-script (string-append bin "/guitar-scale-chart") + `("PERL5LIB" ":" prefix (,path))))))))) + (inputs + (list perl-list-allutils + perl-term-ansicolor)) + (native-inputs + (list guile-3.0)) (home-page "https://github.com/jgarte/guitar-scale-chart/") (synopsis "Pretty guitar scales in your terminal") (description --iULsM/pfsJ6m1/aD-- --R7x4GbKKj2vDw7Lb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmK6u/wACgkQQarn3Mo9 g1HgehAAoPahTYeYtijmoJ8uDi1zEL4Tmn9rjtvyVma7zdJvpGtJXY7hZsud//3B sNnS97SJv+Xuo8xUss24rSqKNaIojkaKK7f5p5QBCFPhDQkUv9fWfPT3Oh/CNCwf NVTocw/QcaFFYtc2EPKXv4QpTQP2nvfTVnR/H3qNjajC4gKq+732LGbNxJjAnrtl bDcjgOoGXFBrfi7W0Fi3cJEQRGCq/KWzfRvvcKdcvRZFFQz7MhaX/XGg6kHJggpd RkaW0ZqqtpJerEOPyd/ln1QD22iIslGq1wGfeqK6zfKankIT1Fz2sJv+QAY/TE9l OTJFr12BH0vK9W2fZYYbqYbJbN+VygpR1JLxl6ce48ZrJMcrBSCOVdWTbmSXT9Fm LjX5DzM2HfU9BawwPUutsLVDIQMp7V4wIbVVbN3OLVqoEyddm+RrF2Dxhf+uIFug 3Jey0TzvnVe9xVyVdfaQqCeamtSGtbmoPVIoO/tAX4UhklkIciRR3PhJ/f1oHaq9 AnZwOuz34CHKroV4vlhh62FkLCtERSvREQvCpjJj2jZtXeAUCvHWrPsLPOf4GB0z nPFiBVGHA2u9k+EzGjaxEKDMWyAr+oxqqxRRCOuxJZv98BAQ6vbb1peOm9CyZh5c Jrd+INaWfY/EjF7MGys8fi1iCyuJfo+ScZRC62ru5x68/ZJr92o= =Aih1 -----END PGP SIGNATURE----- --R7x4GbKKj2vDw7Lb--