From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AKA8NwtO+l5pHAAA0tVLHw (envelope-from ) for ; Mon, 29 Jun 2020 20:24:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yNYAMwtO+l4yXwAA1q6Kng (envelope-from ) for ; Mon, 29 Jun 2020 20:24:43 +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 A7BB7940144 for ; Mon, 29 Jun 2020 20:24:42 +0000 (UTC) Received: from localhost ([::1]:46554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jq0KX-0006dF-35 for larch@yhetil.org; Mon, 29 Jun 2020 16:24:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jq0KJ-0006cZ-JL for help-guix@gnu.org; Mon, 29 Jun 2020 16:24:29 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jq0KG-0002oz-Vn for help-guix@gnu.org; Mon, 29 Jun 2020 16:24:26 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1593462261; cv=none; d=zohomail.com; s=zohoarc; b=KTxbRcUx+v5uLSkX2cEigbQaH8gfuSSX6tNV/C3EV6V4aV/O86cbfmyOfH7onBm+y66apDGnbaHsAvGp9Faj4pmL8A+D0ohuaTAR0NnuR47CITaIR+K6pMFYOMI/qb1d/A470UrhwBW5BWgKCYjyRmuCYwf+0BMRQB/N7+IuN6k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1593462261; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=cb1tT3+HfKzDEY/An8bzlwsKjcxFoKCSYASH1j5Fl3g=; b=Z9EQjPj4i6n54vEGczafezcoK4nOzN9iRJyj1sG3Hc61IJ/K911KSfA/Ws7IzyHQHJvjTUstnT+9+fv5iTUf+jjC3m3++BWGIOgekhYKlm+zJlNXENEbpo5dE/f6iA4f8YU6tlR5UQgIq8y6r+PYXQ1NG3QW7t7kMQRvjE5iyqU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1593462261; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=cb1tT3+HfKzDEY/An8bzlwsKjcxFoKCSYASH1j5Fl3g=; b=RsFRkzU016aN9gvbIjpipUYiXKVRnfBUeT5ulISVkPZEIlOi40ecljHwzTYHCF2M wsYlS5Gg6sW5aJeV22NnhR2yOjA8U4G9zQfeY3hyInusSWAfdBf9YsJgs8CJHILV5K2 Xrhw0E2myh9V2EQNF7HCoNomUVyV9lOyvIY/feK0= Received: from localhost (p54ad4d7b.dip0.t-ipconnect.de [84.173.77.123]) by mx.zohomail.com with SMTPS id 1593462257870940.1469876854127; Mon, 29 Jun 2020 13:24:17 -0700 (PDT) References: <3801410f-667e-9cac-74f3-d56a519adcc2@posteo.de> <871rm4mcm1.fsf@gmail.com> <8211be1b-21d0-36bb-c89d-a92581af594a@posteo.de> <86sgeeb6is.fsf@gmail.com> User-agent: mu4e 1.4.10; emacs 26.3 From: Ricardo Wurmus To: Zelphir Kaltstahl Subject: Re: Erlang + Emacs profile In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 29 Jun 2020 22:24:14 +0200 Message-ID: <87d05hoc29.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/29 16:24:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=RsFRkzU0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: IP6sMLtF8ge4 Zelphir Kaltstahl writes: > I just did the edit thing and I am not sure how to then "upload" a > package. But I will read the docs a little and will probably all clear up. =E2=80=9Cguix edit=E2=80=9D only opens the source file containing a package= definition in your editor. To contribute packages please see the Contributing section in the manual. >> The point is that Guix has a really large collection of Emacs packages: >> >> --8<---------------cut here---------------start------------->8--- >> $ du -sh gnu/packages/*.scm | sort -nr | head -n5 >> 908K gnu/packages/crates-io.scm >> 884K gnu/packages/emacs-xyz.scm >> 784K gnu/packages/cran.scm >> 732K gnu/packages/python-xyz.scm >> 636K gnu/packages/bioinformatics.scm >> --8<---------------cut here---------------end--------------->8--- >> >> and if your needs is not there then "guix import elpa" eases the task >> for adding it. :-) > > So if I understand this correctly, there are different channels for > different types of packages, for example for Rust packages we have > `gnu/packages/crates-io.scm` and for Emacs packages we have > `gnu/packages/emacs-xyz.scm`. No, these are not channels. These are all modules that are part of the default channel called =E2=80=9Cguix=E2=80=9D. > The command `guix describe -f channels` does not work for me: > > ~~~~ > xiaolong@xlx200:~$ guix describe -f channels > guix describe: error: failed to determine origin > hint: Perhaps this `guix' command was not obtained with `guix pull'? Its = version string is > 36da62f1b9c78a2729658143a7df1845cd532afa. > ~~~~ =E2=80=9Cguix describe=E2=80=9D will work when you use a =E2=80=9Cguix=E2= =80=9D that was obtained with =E2=80=9Cguix pull=E2=80=9D. It will usually be in ~/.config/guix/current/= bin/guix. > I did another `guix pull` and `guix package -u` and this is after a > fresh Guix package manager install and and installing the following > packages: > > ~~~~ > xiaolong@xlx200:~$ sudo -i guix package -I > glibc-utf8-locales 2.31 out /gnu/store/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-g= libc-utf8-locales-2.31 > > xiaolong@xlx200:~$ sudo -i guix package -I > glibc-utf8-locales 2.31 out /gnu/store/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-g= libc-utf8-locales-2.31 > xiaolong@xlx200:~$ guix package -I > guile 3.0.4 out /gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4 > erlang 21.3.8.13 out /gnu/store/6x8ycgi8hv5rh8gq3vrdbcq5sh3qfq7i-erlang-2= 1.3.8.13 > emacs-ob-erlang 20180827-1.f1a8c66 out /gnu/store/czg6wqga0hvc57axbz1cjp8= 92k5r8ybp-emacs-ob-erlang-20180827-1.f1a8c66 > icecat 68.9.0-guix0-preview1 out /gnu/store/7qakza7zdiz57l5hldd8162324fwb= w8s-icecat-68.9.0-guix0-preview1 > libreoffice 6.4.4.2 out /gnu/store/swk410ahw9v4k0hjmsd4f33bqw5fdyqa-libre= office-6.4.4.2 > lyx 2.3.5.1 out /gnu/store/p7z5436jhgjlgdbx44np44vzjhrwi2ns-lyx-2.3.5.1 > python 3.8.2 out /gnu/store/6sr11m4i1d3vbqlmbpzmfj1lihbc5iz4-python-3.8.2 > rust 1.39.0 out /gnu/store/24pbvvdwaj9kbsdfi6kgxkvxkjayfz74-rust-1.39.0 > openvpn 2.4.9 out /gnu/store/3rh4i3wbkdwkrmrxy30d3f3nbg6kdl02-openvpn-2.4= .9 > emacs 26.3 out /gnu/store/528p0v6gg5gx53jd0x52dmghb01bfhc5-emacs-26.3 > glibc-utf8-locales 2.31 out /gnu/store/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-g= libc-utf8-locales-2.31 > guile-colorized 0.1 out /gnu/store/5h0jfssgyx49cq82wrmw57an7ngb7kkz-guile= -colorized-0.1 > ~~~~ I don=E2=80=99t know what this is supposed to demonstrate. =E2=80=9Csudo -= i guix=E2=80=9D runs Guix as the root user, which has a different default profile. > The other command to show the count of packages also does not work for me: > > ~~~~ > xiaolong@xlx200:/$ sudo du -sh gnu/packages/*.scm | sort -nr | head -n5 > du: cannot access 'gnu/packages/*.scm': No such file or directory > ~~~~ That=E2=80=99s not a general command to count packages. This was just simo= n=E2=80=99s way of showing you that the file containing package definitions for Emacs packages in the Guix repository is among the largest modules. To show all available packages use =E2=80=9Cguix package --list-available= =E2=80=9D. > Do I need to create channels, like a custom way of structuring packages > for myself, before running these commands? No. The command line that simon showed you is a simple combination of coreutils commands that operate on the Guix source code. If you want to run the same command you need to do this in the directory containing a checkout of the Guix source code. --=20 Ricardo