From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iavTGBnz9WDCJgEAgWs5BA (envelope-from ) for ; Mon, 19 Jul 2021 23:48:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SCG/Exnz9WD7LAAA1q6Kng (envelope-from ) for ; Mon, 19 Jul 2021 21:48:09 +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 76E3B1BAD3 for ; Mon, 19 Jul 2021 23:48:08 +0200 (CEST) Received: from localhost ([::1]:42978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5b7P-0005hU-Hz for larch@yhetil.org; Mon, 19 Jul 2021 17:48:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35944) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5b7K-0005eU-Fc for guix-patches@gnu.org; Mon, 19 Jul 2021 17:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5b7K-0000H0-7C for guix-patches@gnu.org; Mon, 19 Jul 2021 17:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5b7K-0002O8-6H for guix-patches@gnu.org; Mon, 19 Jul 2021 17:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49280] [PATCH v2 1/3] gnu: racket: Update to 8.2. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Jul 2021 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49280 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Prikler , 49280@debbugs.gnu.org Received: via spool by 49280-submit@debbugs.gnu.org id=B49280.16267312237048 (code B ref 49280); Mon, 19 Jul 2021 21:48:02 +0000 Received: (at 49280) by debbugs.gnu.org; 19 Jul 2021 21:47:03 +0000 Received: from localhost ([127.0.0.1]:60533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5b6M-0001pF-P5 for submit@debbugs.gnu.org; Mon, 19 Jul 2021 17:47:03 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:46737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5b6L-0001kH-La for 49280@debbugs.gnu.org; Mon, 19 Jul 2021 17:47:02 -0400 Received: by mail-qt1-f172.google.com with SMTP id d15so14040434qte.13 for <49280@debbugs.gnu.org>; Mon, 19 Jul 2021 14:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=3nsmzQWFTZm2hxwzyLj8wF5uOu86qlNJ10tz5oXgaXU=; b=c0n7bgJ4IC/k1efZdMkGxM1PL2qH3/aiovaqk9mh76vCcUk0GhD8FHYibx2ifo5om9 ekBr8FEVvGwpdf0bvP1RbxOA2jo4blsbH54N2/1JxpfBsmyT+3JKEad1dSsUzLqPobzG ikDNouwLtHrVa/sULMT9DiUkBWxB5AZownS1KSBw0obD5w7ZiWSnNedxbgAAkjW+kcWV Lx6BwcK7glf+5Vag7JiHpNmd4ix4/YbOl9ucoOb10VdaluaKzS1MRL2eQQXGm8p2ceyK j7p0gJ83nzCrXbqWidHkiKUmR1K4ASZJIMNnmVko80ivI1Dx0REKIVoEEkr51XmqZTRt dXCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3nsmzQWFTZm2hxwzyLj8wF5uOu86qlNJ10tz5oXgaXU=; b=ohghKx1+6dTjl2Mox4MJLTktH/whR/U0uizGg2GD9kLHwTLdZX4sE1YpbTVOK1DwjY jflpnHB/wTNXS0HY/QDgrpLMKyWZM1IwnWWWzSE82/01LWbl76JMTJJhkXa+v9aQpbqE 3mfSj9fMKGyxAb6L3rew4WYn072IIFZZqszYat9BP5n5sMjrhgtjnJ30UTLnzxl/Kt6w lDWlFzin5qBTplIEkgsgTVVdKC17uDwWmSJgqE0teBHPLUGi5nNh5nKg4pLY+s0Of56p EnQ9jbnH0hdWINz1vputsygJ3Uj3h4fphmyZPAAQAEBB/eug/ywVt3Hc1K2GXK08uIVF wq/w== X-Gm-Message-State: AOAM531+S1OTk+xxJJCzCbe1UsXl1tGYh07+0983FTZYLKmPRqDsYoKM fJOinyk2WPTKB7x3njKACGU6YAaqCZcwPcbYH8c= X-Google-Smtp-Source: ABdhPJwRKQfq7yV9avkAVqvmwbi5+jN35FxOtekRstMHbosyZdnGTSV6t2J32jaB8mUeQEgPJWVwLQ== X-Received: by 2002:ac8:7f8c:: with SMTP id z12mr3116895qtj.224.1626731215876; Mon, 19 Jul 2021 14:46:55 -0700 (PDT) Received: from Sapientia.local (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id q3sm8594893qkn.14.2021.07.19.14.46.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Jul 2021 14:46:55 -0700 (PDT) References: <270db91e-24f6-2754-7164-d0406aeebc60@philipmcgrath.com> <20210719063143.788661-1-philip@philipmcgrath.com> <552707abf1fdcba6de34fbb5a5466dea31c8417a.camel@student.tugraz.at> From: Philip McGrath Message-ID: Date: Mon, 19 Jul 2021 17:46:54 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <552707abf1fdcba6de34fbb5a5466dea31c8417a.camel@student.tugraz.at> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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=1626731288; 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: 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=3nsmzQWFTZm2hxwzyLj8wF5uOu86qlNJ10tz5oXgaXU=; b=PC3+F3yh1m4xwog3pkLLbyEwAzJS5wNSzVOeNn2HE9qnDdIZbJyyFljZbkc5HwSQs9s/wd Dhyj6A8Xlx61tmRmGcADsJaS+rvibKv7DgNCag6XCzycqrFZQmr2eXgIfIYDhLkz4LFfId /Tshcqs9EC8e2p10Zva9jyC29kNWU37/4EbW5eoIYoCubAdXxNlv0TVSPuoSPzNIJ0bdtX 0/6vRg4UMt6VfcS7ku1cQnwBJgwIxhOexYCEB4/OVlpwV4orLm3nGSi6gftrx7xjREx98I sp36/3lXFy5zzOy5osouGRyiC7kSdaPjZ8qRdDeyWnn6K/SxdMTQ0PVnhISngQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626731288; a=rsa-sha256; cv=none; b=Wivbq9MvxFIq4eM8dUE4yTnfoSqh8ejsSZ65gBZMmdbvHoh/B5xpYgBtk7Sdzx06SEAy3q Xo6dnffLe+tDLaj5xokVmXeV6V45sPJAG1/wM3Y7X1fnN3slmVf2kRtED2jEaM29O11Vwc /mJmShCE1jhprooUeKrhUgPBfiZRxySCCFfZuf+Jlfbeyb+cDXmV3h0d9zsqkRz4OIQu5a prkgidM0AjEIK4/vX+UQt+2ohHxeaARMAqzz7WLOBck9uK6cAFeQnQirN5HnrouQr5See4 05oJibMY8GkPZRaCUcfx8ywZgJj0FRu10quLECqJKnz3BQGuiCCHWgamoVKKWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=c0n7bgJ4; dmarc=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.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=c0n7bgJ4; dmarc=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: 76E3B1BAD3 X-Spam-Score: -1.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: c1C2bZwZcCdB Hi, On 7/19/21 3:46 PM, Leo Prikler wrote: > Am Montag, den 19.07.2021, 02:31 -0400 schrieb Philip McGrath: >> * gnu/packages/racket.scm (racket-minimal, racket): Update to 8.2. >> * gnu/packages/racket.scm (racket-minimal)[#:arguments]: Fix >> patch-config.rktd-lib-search-dirs phase. When a config.rktd file >> doesn't contain an entry for `lib-search-dirs`, the default is >> equivalent to `'(#f)`, not `'()`. > What is the point of this value? Can we use a (sequence of) string(s) > in its stead? As you'd probably guess, `lib-search-dirs` and other `-search-dirs` "config.rktd" entries specify search paths. The `#f` value is used to specify the point at which the default search path should be spliced into the list: a configuration file can ignore the default altogether or exercise fine-grained control over the search order. Using `#f` also helps to maintain something closer to a single point of control, rather than hard-code the same string constants in several places. Most importantly, the default value is not always a constant: for example, command-line flags and Racket parameters control whether user-specific paths are included. (For `lib-search-dirs` in particular, it's also worth noting that these are Racket-specific search directories: it does not control the use of OS-level defaults for e.g. `dlopen`.) The problems with omitting `#f` from `lib-search-dirs` were not very noticeable until the patch to start using layered and tethered installations. For a more obvious example, if `catalogs` is `'()`, `raco pkg` won't consult any package catalogs, whereas `'(#f)` will cause it to use the default catalogs. The documentation for these configuration options is here: https://docs.racket-lang.org/raco/config-file.html#(idx._(gentag._70._(lib._scribblings%2Fraco%2Fraco..scrbl))) (As of this writing, the docs on the website are still at 8.1---the whole package catalog is rebuilt after a new Racket release, which takes a little while to finish. You could alternatively apply this patch and run `lynx "file://"$(./pre-inst-env guix build racket)"/share/doc/racket/raco/config-file.html#(idx._(gentag._70._(lib._scribblings%2Fraco%2Fraco..scrbl)))"`.) -Philip