From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UBo1Ke+IBGYkKQEA62LTzQ:P1 (envelope-from ) for ; Wed, 27 Mar 2024 22:00:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UBo1Ke+IBGYkKQEA62LTzQ (envelope-from ) for ; Wed, 27 Mar 2024 22:00:31 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=RrZZ6aoi; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711573231; 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: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=OZZUwaYOlGBY2WHVTedqsGRZC4dyAPLG+ODsULy4Oyw=; b=hTyUXNTBayqIhS7zpp0TNHeEPvl2pUeGLeiqjuFRbpKNV7HxsZWlbt4EoMBDiPMywgXbgP 6MtC5wvPLfZoR/e7Kclf8Wo8pH4Y3mOQee3pUlRokrfcA0Hx/SRqe13eivM1lGyRgJWPbM 2HimJDkEee7hV5olO2oCID3A281MOH8sQju+SsDh3LXQ4k8PP5ueyF/Z5rrPWySQmS3Kvn uuVk7rE7DyDgIqLJt35+/S2siIYkkVZMV2c9WxIH72fsq9IKQMfxFteS1Hh+sIU0Je0sHq duA+sDQ91qhTmAd1a66yPFeQTC2YtCNEq3/WFc4MrYPjbZ1mMiTBpIHGbiKNaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=RrZZ6aoi; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711573231; a=rsa-sha256; cv=none; b=SXfk2qh7q/JvguUtamZCYsjBvQJ9smBcPUZiJfmTEQQgpav3uSfhIWUyyaaeEn/8cBrglx RoPK2DwGIjGlztKIsfp7o6y+32LIDtYCm8+2Dg8yLpxxUbZgFC198u+shdnOtlvXjIt/i7 4Yq0FHqp0qyiArv2as4qT98XiD99EYt8xzhdhuK0VV/d5JxgxkwHClssOHRVvIQZZ3uRgt KSMwIMglGq3bgvr+zU04xK392biu6ZFk4lbRBzaPqhhuZYInQIWoQ3KFqg3g8kbVBRIDHd wz3YpnE1pwp2xO8zMbjburax6sVCGA80xjR5Q55e+VCAI6Q/FKfQGDaL6n12UA== 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 4C769C920 for ; Wed, 27 Mar 2024 22:00:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpaNT-0005vw-PK; Wed, 27 Mar 2024 17:00:07 -0400 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 1rpaNR-0005vW-Fy for bug-guix@gnu.org; Wed, 27 Mar 2024 17:00:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpaNR-0008F1-3t for bug-guix@gnu.org; Wed, 27 Mar 2024 17:00:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpaNR-0003qF-0z for bug-guix@gnu.org; Wed, 27 Mar 2024 17:00:05 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#68948: temp fix References: In-Reply-To: Resent-From: chris Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 27 Mar 2024 21:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68948 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 68948@debbugs.gnu.org Cc: chris@bumblehead.com Received: via spool by 68948-submit@debbugs.gnu.org id=B68948.171157317514533 (code B ref 68948); Wed, 27 Mar 2024 21:00:04 +0000 Received: (at 68948) by debbugs.gnu.org; 27 Mar 2024 20:59:35 +0000 Received: from localhost ([127.0.0.1]:38437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpaMw-0003mJ-OA for submit@debbugs.gnu.org; Wed, 27 Mar 2024 16:59:35 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:56564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpaMu-0003kw-AB for 68948@debbugs.gnu.org; Wed, 27 Mar 2024 16:59:33 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id C7C8E2095C38 for <68948@debbugs.gnu.org>; Wed, 27 Mar 2024 21:59:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-disposition:content-type:content-type:mime-version :message-id:subject:subject:from:from:date:date:received :received:received; s=dkim20160331; t=1711573164; x=1713387565; bh=OZZUwaYOlGBY2WHVTedqsGRZC4dyAPLG+ODsULy4Oyw=; b=RrZZ6aoiC5AK LKYfwKNYjOtWEWovK2289uq6kpWTz+mtL/RclbKwZQvOwLJPRwTApX/gdr7SZV5A deGuei1B9KUFwewK4gTtAUQLD359uEh06tGS+ILkksj0ICjgZ9Dtcru7L+7AmcfK 57gkEtbpBUPGd1sK1ZyPlNffZAaCFMqu6JpVMpMU3wqVpsCgDp1axHzOJ/Wfth4J aSbw394m/hs6qqbtSE5DPRqPOaaJvA91D7Y5NCi9m5rT4HJ77w90DlRvoGPIAT4u FEMQzJYsvQCWXmbunIqOf0YaNb5oOWnMam68e7bHH1jHipZRshXK5vHKgzTE9SHe HzAF6+30DzayW57bESNZZ0J102OUX8NetNGECt1useepNt9bCZMNzFT2XpxPJ64i ISGGqrfE8IuV7+3oBg4yuvwK+9BHXFsU0EubMiyIdKZIhe5K4LvMC9oCDpYvF7bN 4l3LdxquUz2+lvsrEdr59hJHxd+h0TggsER31vS75fVwoPNI+6lholCEjKk7sncf JLGMVts6wXPpMq1hgTLVTfIa5LAeUvO0NWPOzHZRn5YpPebg98eCXUbaOeR1RQCr jEIRrNkTz8xsS/+zmpEfzby/f7ouqeCRhBE+X2i/V0wctAPMYz4H2rTQa80YTlcF ifycmr+t2s2pEeckodu9xNhlrEYRn1s= X-Virus-Scanned: amavis at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id hJ0Ivm1biwcA for <68948@debbugs.gnu.org>; Wed, 27 Mar 2024 21:59:24 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id C18B12095C35 for <68948@debbugs.gnu.org>; Wed, 27 Mar 2024 21:59:24 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 40F6F20D6AFA for <68948@debbugs.gnu.org>; Wed, 27 Mar 2024 21:59:24 +0100 (CET) Date: Wed, 27 Mar 2024 13:58:03 -0700 From: chris Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 4C769C920 X-Spam-Score: -3.35 X-Migadu-Spam-Score: -3.35 X-Migadu-Scanner: mx10.migadu.com X-TUID: ghXKe5kOMwyK The following workaround can be used, ``` HLDIRS=$(guix build highlight); # returns two directories HLDIR="${HLDIRS##*[[:space:]]}"; # returns the second dir, after whitespace DATADIR="$HLDIR/etc/highlight/"; echo "(highlight (package bug))" | highlight --data-dir=$DATADIR -O xterm256 --syntax lisp ``` Based on my understanding, the current package definition is correct. Possibly a patch like this could resolve the issue the current package definition seems correct. ``` diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm index b95f56729a..2a7cf74009 100644 --- a/gnu/packages/pretty-print.scm +++ b/gnu/packages/pretty-print.scm @@ -389,7 +389,7 @@ (define-public highlight (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (data (string-append out - "/share/highlight/")) + "/etc/highlight/")) (conf (string-append out "/etc/highlight/")) (doc (string-append out "/share/doc/highlight/")) ```