From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ILIFLc1XI2UjQAAAG6o9tA:P1 (envelope-from ) for ; Mon, 09 Oct 2023 03:30:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ILIFLc1XI2UjQAAAG6o9tA (envelope-from ) for ; Mon, 09 Oct 2023 03:30:53 +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 3FE8A73EF7 for ; Mon, 9 Oct 2023 03:30:53 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=vX78JNmL; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696815053; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fuurSLxdig2Cu7ta6hP9afnupWm1KzA8BtRQmDOyAog=; b=iHlRWTieJXsJEHdb1IDjgvRZ87AEDFE2/gXPQahRuH4Xrh00qkQm+oQfned3LtIFPnlC7c 3abcZBG6W5k/Zba9DuQK6zq7TgPgg5l+JuKc855Y1JmsQ631Pr4Cya2Pgo7taj6L6esuE0 cIzU2GOphrTT7Wk6ZadmNxf2WYHsZRnAuGLLgWXZZcG3/SNWHAvN1Vp3x7xOU2CgqhLi06 6lM69n59uspGFN75BO647fe7VNBW+ejEQyZdJzHS6S6sRZcJgYV/RKWQqLgu52sPrFIK+w wGTHAPtV1N7Ff8fF5/5ds7KTFYI4IwC/WkE3WP9xusnM15qT8jcetUh5Mou5RQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696815053; a=rsa-sha256; cv=none; b=tHWDSYQdd7X7ih/9LisgJkGwJazB7nljdp083gP3qc4LCLu+7ZWiGTnC/KbXETo0znhqcU HuIG0s+6lO4ZNY+BM14jIR5adkGNhw3J1rQl/hRGRSY61n+CJRCW94BUYfv8JXJSDfrlmY 5fnitzSOUAYkE+7lYHjGQcMWrjxHF2X5QtyiHL0v22DsQ6cMd9apGFt+da1P5PBul8Fjof wsqnEGIH6y9rgswa39O5BF9blsXvJUX9d7f5jQs5uOM/SWYiwU0/0ATapFQFfzsZb70R6Q 51adK3izrekBtKIznnxSgFxdvEUoxVRasqyFFi4Dh16908M2TKP7N+wjCTx7qA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=vX78JNmL; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpf6I-00032F-3q; Sun, 08 Oct 2023 21:30:26 -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 1qpf6B-00031Y-VJ for guix-devel@gnu.org; Sun, 08 Oct 2023 21:30:23 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qpf6A-0002z4-2B for guix-devel@gnu.org; Sun, 08 Oct 2023 21:30:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1696815014; x=1697074214; bh=fuurSLxdig2Cu7ta6hP9afnupWm1KzA8BtRQmDOyAog=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=vX78JNmLoqZbrVBJqjj+hDkfubo4PoddLtT25GmCsqIdF7Gw+XaIh7g7PdWfqYGrU vdLMNYVd1mrvqTsUEHj1CYJcjdXPRfxH3ZAMN0YAiqIMjWkPgJyZlhhPGB11i9X9VR 47QqkQywHZ59IOlGjaYUAY2vQREapklbWrXjvByvoeRNzJjGwLyCztO4HL+zbLZpYL PJh2abxkJdBg2sW7m13ZoKaR6IEtPMUMr/zkqIA27VOPWHDou4LDZvx0Zs41QJMpCh /rZYfgeHzeO8R2fOKqpOsnGTZMoHFIk/U6YX4E4/O9AySD1XpBsh83LKhzyAww1Cwh fnut64XRYQrGw== Date: Mon, 09 Oct 2023 01:30:11 +0000 To: Ekaitz Zarraga From: John Kehayias Cc: Fredrik Salomonsson , guix-devel@gnu.org Subject: Re: Fw: Question regarding qmk firmware Message-ID: <87o7h88twj.fsf@protonmail.com> In-Reply-To: References: <87r0m6xh3c.fsf@posteo.net> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=john.kehayias@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -8.85 X-Spam-Score: -8.85 X-Migadu-Queue-Id: 3FE8A73EF7 X-TUID: T94SYSITqtnZ Hello, On Sun, Oct 08, 2023 at 10:34 AM, Ekaitz Zarraga wrote: > Hi > > I want to forward this message to guix-devel because it is a clear > case of some (actually good) technical decision affecting users in > unexpected ways. > > Now, after the change, a user might run `guix search avr-toolchain` > and find nothing. Same for ARM. > In this case would it have helped to deprecate the package? Or can we (ab)use this as a way to notify a user that either something has changed (use a procedure now) or that a package you might expect at this name is available some other way? > This is a shame, because we have toolchains for those architectures > but converting them to a function that returns the package leave many > users that are not used to read guix's code thinking those packages > are gone. > > Maybe we should create some kind of fake packages that show up in > `guix show` and `guix search` that have a short tutorial on how to use > packages that come from a function like these. > This way providing the same interface for every package regardless > where they are coming from. > At the very least this should be documented, perhaps adding to information about the kernel in the manual and generally customizing/building your own. I like the idea in general of making sure people can find things and if they are not where you'd expect not having a hard time to find them. Some tips in a package description about how to use or where to look in the manual for information would be good, but I don't think we'd want to get too verbose here, adding another maintenance point that should be proper documentation (or cookbook). As an example, we don't need to always say how to add udev rules from a package, but letting users know (if it is not obvious from the name) that rules are included and should be added to a system configuration for something to work (pointing to the manual about udev service) I think can be helpful. I don't know though, I guess the package's documentation itself needs to tell a user how to use it, and then one looks in the Guix manual how to add udev rules. Anyway, perhaps I run on a tangent here. John > I leave it as food for thought. > > Thanks, > > Ekaitz > > > ------- Forwarded Message ------- > From: Fredrik Salomonsson > Date: On Saturday, October 7th, 2023 at 21:23 > Subject: Question regarding qmk firmware > To: help-guix > > >> Hi, >> >> Today I was tweaking a keymap for one of my qmk based keyboards but some >> of the packages I used when building the firmware has been removed. My >> commad was as follows: >> >> `sh guix shell avr-toolchain dfu-programmer qmk -- qmk flash -kb >> ergodox_infinity -km plattfot -bl dfu-split-left` >> >> But `avr-toolchain` is gone. When I tried to just drop it and see if it >> worked I get >> >> `=CE=A8 Compiling keymap with make --jobs=3D1 >> ergodox_infinity:plattfot:dfu-split-left QMK Firmware 0.14.19 Making >> ergodox_infinity with keymap plattfot and target dfu-split-left >> /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh: >> line 1: arm-none-eabi-gcc: command not found` >> >> It seems `arm-none-eabi-toolchain` is also removed. Looking at the >> commit history for guix it looks like they got replaced by >> [proceduers][0] instead. >> >> [0] >> /?id=3D35c1df5bd6317b= 1cd038c1a4aca1c7e4a52d4d93 >> >> My question is how do I get access to the arm-none-eabi-toolchain from >> the commandline with guix shell? >> >> Thanks >> >> -- >> s/Fred[re]+i[ck]+/Fredrik/g