Setting environment variables (GUIX on foreign distro)

2020-04-05 Thread Zelphir Kaltstahl
Hello, My question regards setting environment variables, which are considered by applications installed via GUIX on a foreign distro (Trisquel). What is the best practice to set custom environment variables? I've successfully set them in my ~/.guix-profile/etc/profile before, but there they will

Re: Setting environment variables (GUIX on foreign distro)

2020-04-07 Thread Zelphir Kaltstahl
launcher for example, so not only when I open a terminal. Not sure bash_profile would be considered in that case? I need to try this. Thanks so far! On 4/6/20 7:11 PM, Leo Famulari wrote: > On Sun, Apr 05, 2020 at 10:49:54PM +0200, Zelphir Kaltstahl wrote: >> My question regards setting en

Creating environments using Guix package manager

2020-06-07 Thread Zelphir Kaltstahl
Hi Guix Users! For some time now I would like to create Guix environments for separate projects. I've tried finding the way to do it at https://guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html but have been unable to read out of it, how to do it. I would like environments that hav

Re: Creating environments using Guix package manager

2020-06-07 Thread Zelphir Kaltstahl
piller wrote: > Le 7 juin 2020 08:28:16 GMT-04:00, Zelphir Kaltstahl > a écrit : >> Hi Guix Users! >> >> For some time now I would like to create Guix environments for separate >> projects. >> >> I've tried finding the way to do it at >> https

Re: Creating environments using Guix package manager

2020-06-07 Thread Zelphir Kaltstahl
e the terminal emulator, but perhaps I just need to read a little further and it will reveal itself to me, how to do it. Thanks for helping! On 07.06.20 14:37, Julien Lepiller wrote: > Le 7 juin 2020 08:28:16 GMT-04:00, Zelphir Kaltstahl > a écrit : >> Hi Guix Users! >> >> F

Re: Creating environments using Guix package manager and collision

2020-06-07 Thread Zelphir Kaltstahl
amp;& guix package -u, it does not appear on the machine with the older Guile version showing up.) Thanks for the hint! On 07.06.20 15:48, zimoun wrote: > Dear, > > On Sun, 7 Jun 2020 at 14:28, Zelphir Kaltstahl > wrote: > >> >> building /gnu/store/yniz1rh5

Profiles for Python projects

2020-06-18 Thread Zelphir Kaltstahl
Hi Guix Users! Today I experimented a little with creating profiles from manifest.scm file for Python projects. I have the following manifest.scm: (specifications->manifest '("python@3.8.2" "python-falcon@2.0.0" "python-levenshtein@0.12.0" "python-jsonschema@3.2.0" "python-pytest@5.3

Re: Profiles for Python projects

2020-06-19 Thread Zelphir Kaltstahl
hir, > > Zelphir Kaltstahl writes: > >> I create a profile with that and it works fine: >> >> guix package --manifest="manifest.scm" >> --profile="${GUIX_EXTRA_PROFILES}"/my-env/my-env >> >> Then I do the sourcing: >> >> GUIX

Problem with guix pull and symlink

2020-06-23 Thread Zelphir Kaltstahl
Hello Guix Users! Since recently I see the following message on `guix pull` as normal user: $ guix pull Migrating profile generations to '/var/guix/profiles/per-user/xiaolong'... guix pull: error: symlink: File exists: "/var/guix/profiles/per-user/xiaolong/current-guix" And if I do: $ unlink /

Erlang + Emacs profile

2020-06-23 Thread Zelphir Kaltstahl
Hello Guix users! What is your way of setting up a profile for Erlang development? There are some things I would like to have, some of which I already managed to get: * [X] Erlang installed through Guix package manager in a separate profile * [X] `erl` REPL available in that separate profile

Re: Erlang + Emacs profile

2020-06-25 Thread Zelphir Kaltstahl
in a way, that will keep working when I update Guix packages. Thanks, Zelphir On 6/24/20 10:29 PM, Maxim Cournoyer wrote: > Hello Zelphir, > > Zelphir Kaltstahl writes: > >> Hello Guix users! >> >> What is your way of setting up a profile for Erlang development? >> &

Repair / reinstall Guix package manager (foreign distro)

2020-06-28 Thread Zelphir Kaltstahl
Hi Guix Users! I would like to repair or reinstall my Guix package manager installation, because it seems broken and nothing I tried fixes the problem. The problem: xiaolong@xlx200:~/Downloads$ guix pull Migrating profile generations to '/var/guix/profiles/per-user/xiaolong'... guix pull: e

Re: Repair / reinstall Guix package manager (foreign distro)

2020-06-29 Thread Zelphir Kaltstahl
again and again. Regards, Zelphir On 28.06.20 20:25, Marius Bakke wrote: > Zelphir Kaltstahl writes: > >> Hi Guix Users! >> >> I would like to repair or reinstall my Guix package manager >> installation, because it seems broken and nothing I tried fixes the problem. &

Re: Erlang + Emacs profile

2020-06-29 Thread Zelphir Kaltstahl
Hi Simon and Maxim! I am not sure I understand all things you wrote. On 29.06.20 10:50, zimoun wrote: > Dear, > > On Thu, 25 Jun 2020 at 21:25, Zelphir Kaltstahl > wrote: > >> * It requires keeping multiple Emacs on my system. How will they >> interact with t

Re: Erlang + Emacs profile

2020-06-29 Thread Zelphir Kaltstahl
le or directory or something like that. Best regards, Zelphir On 24.06.20 22:29, Maxim Cournoyer wrote: > Hello Zelphir, > > Zelphir Kaltstahl writes: > >> Hello Guix users! >> >> What is your way of setting up a profile for Erlang development? >> >> There

Re: Erlang + Emacs profile

2020-06-29 Thread Zelphir Kaltstahl
Hi Ricardo! On 29.06.20 22:24, Ricardo Wurmus wrote: > 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. > “guix edit” only opens the s

Re: Erlang + Emacs profile

2020-06-29 Thread Zelphir Kaltstahl
Hi Simon! On 29.06.20 22:49, zimoun wrote: > Dear, > > On Mon, 29 Jun 2020 at 21:37, Zelphir Kaltstahl > wrote: >>> On Thu, 25 Jun 2020 at 21:25, Zelphir Kaltstahl >>> wrote: >>> >>>> * It requires keeping multiple Emacs on my system. H

Re: Erlang + Emacs profile

2020-06-30 Thread Zelphir Kaltstahl
Erlang code block... append-export-all: Symbol’s function definition is void: string-join On 24.06.20 22:29, Maxim Cournoyer wrote: > Hello Zelphir, > > Zelphir Kaltstahl writes: > >> Hello Guix users! >> >> What is your way of setting up a profile f

Re: Erlang + Emacs profile

2020-06-30 Thread Zelphir Kaltstahl
executing Erlang code block... append-export-all: Symbol’s function definition is void: string-join Is there anything I missed? Best regards, Zelphir On 24.06.20 22:29, Maxim Cournoyer wrote: > Hello Zelphir, > > Zelphir Kaltstahl writes: > >> Hello Guix users! >> &

Guix package manager installation error on Xubuntu 20.04

2020-07-01 Thread Zelphir Kaltstahl
Hi Guix Users! I am sorry to come again with a problem in such a short time. At work I set up a machine and wanted to install Guix package manager there as well. The following is what happened: user@user-ThinkPad-T470s:~/Downloads$ sudo bash guix-install.sh (big guix logo here) This scrip

Re: Guix package manager installation error on Xubuntu 20.04

2020-07-01 Thread Zelphir Kaltstahl
t;> accordingly. >>> >>> If that fixes your problem, I'll edit the script to include it. >>> >>> On Wed, Jul 1, 2020 at 19:51, Zelphir Kaltstahl >>> wrote: >>>>  user@user-ThinkPad-T470s:~/Downloads$ wget >>>>  https:

Re: Erlang + Emacs profile

2020-07-07 Thread Zelphir Kaltstahl
Zelphir! > > Zelphir Kaltstahl writes: > > [...] > >> Then I try to run the org-mode source block hello world Erlang: >> >> >> start() -> >> io:format("hello world"). >> >> >> Here however, I get an error lo

Re: Erlang + Emacs profile

2020-07-16 Thread Zelphir Kaltstahl
the *scratch* buffer and then highlight all of it and "Evaluate and print" (or C-j), after which a "nil" is printed in the *scratch* buffer. Then I proceed. On 06.07.20 05:50, Maxim Cournoyer wrote: > Hello Zelphir! > > Zelphir Kaltstahl writes: > > [...] >

usage of guix import / adding a package

2020-07-16 Thread Zelphir Kaltstahl
Hello Guix Users! I read on https://guix.gnu.org/manual/en/html_node/Invoking-guix-import.html: "The guix import command is useful for people who would like to add a package to the distribution with as little work as possible—a legitimate demand. The command knows of a few repositories from which

Re: My Guile Hacker Handbook

2020-07-23 Thread Zelphir Kaltstahl
Hi Jérémy! The handbook looks great visually. I like the artwork, which is also used on the Guile website. It looks inviting to get going with coding. As for the website itself, how did you create it on the backend side? Ah I just saw the link to the repo! Default language seems to be French, whi

GNU Smalltalk does not build in Guix environment

2020-08-08 Thread Zelphir Kaltstahl
Hi Guix Users! I just tried installing GNU Smalltalk in a Guix environment as follows: manifest.scm file: start (specifications->manifest '("smalltalk@3.2.5")) ~end~ command: start guix environment -m manifest.scm ~end~ output: start substitute: updat

IceCat debugger not working

2020-09-03 Thread Zelphir Kaltstahl
Hello Guix Users! I have an issue with IceCat installed via Guix. Perhaps anyone else can confirm this? I am currently trying to develop something in local development. An HTML page with a few scripts. When there is an error in the scripts, it shows in the console. Usually there is a file and a l

How to install previous versions?

2020-10-09 Thread Zelphir Kaltstahl
Hello Guix Users! I have not figured out yet how to install a specific version of a package, that is not the newest available version. For example I do the following: guix environment --ad-hoc 'python-redis@3.3.8' 'python@3.8.2' -- python3.8 I had this version of python-redis in a man

Re: How to install previous versions?

2020-10-10 Thread Zelphir Kaltstahl
Hello Zimoun! Thank you for your reply! I have a few follow up questions. On 10/9/20 6:37 PM, zimoun wrote: > Hi, > > On Fri, 9 Oct 2020 at 19:19, Zelphir Kaltstahl > wrote: > >> http://data.guix.gnu.org/repository/1/branch/master/package/python-redis. > On this web pa

Re: How to install previous versions?

2020-10-12 Thread Zelphir Kaltstahl
or at least something only involving command line and not requiring me to bisect on GNU Guix commits ^^? Best regards, Zelphir On 10/10/20 6:44 PM, zimoun wrote: > Dear, > > On Sat, 10 Oct 2020 at 17:15, Zelphir Kaltstahl > wrote: > >> For example, clicking le

Re: usage of guix import / adding a package

2020-10-12 Thread Zelphir Kaltstahl
0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" python-django-mptt)'. How do I get this working? Best regards, Zelphir On 7/17/20 12:27 AM, Julien

Re: usage of guix import / adding a package

2020-10-13 Thread Zelphir Kaltstahl
25 AM, Efraim Flashner wrote: > On Mon, Oct 12, 2020 at 07:43:56PM +0200, Zelphir Kaltstahl wrote: >> Hello Julien! >> >> I think I did not yet reply to your e-mail yet. I put it off to "later" >> and now it is much later. Sorry for my late reply and thank y

guix import error

2020-10-16 Thread Zelphir Kaltstahl
Hi Guix users! Today I tried to import another package from PyPI: $ guix import pypi 'jupyterlab@2.1.5' --recursive following redirection to `https://pypi.org/pypi/jupyterlab@2.1.5/json/'... Backtrace: 4 (primitive-load "/home/user/.config/guix/current/bi…") In guix/ui.scm: 2115

Re: guix import error + New: setting up a jupyterlab environment

2020-10-18 Thread Zelphir Kaltstahl
osted.org (files.pythonhosted.org)|2a04:4e42:9::319|:443... failed: Connection refused. Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.37.63|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2020-10-18 13:49:53 ERROR 404: Not Found. ~END~ So n

Re: guix import error + New: setting up a jupyterlab environment

2020-10-19 Thread Zelphir Kaltstahl
quirement.parse('ipykernel') command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file_

Re: guix import error + New: setting up a jupyterlab environment

2020-10-19 Thread Zelphir Kaltstahl
esAPITest` does not have an attribute named `lab_config`. One can see, that those are all API tests. Since there were problems in the previous step with network, perhaps it is a network thing here as well? (Is network, even if localhost for testing, available in the "check phase"?) It could

Re: guix import error + New: setting up a jupyterlab environment

2020-10-19 Thread Zelphir Kaltstahl
r-2.0.0rc1.tar.gz#sha256=733b149c5ab8e50ea5f2897c323047257060e7bf2dc0fa88663181427bec605d and base32 should only make it longer, not shorter. Can you explain how to switch a version manually and calculate the checksum to match another version? Regards, Zelphir On 10/19/20 8:19 PM, Zelphir Kalts

Re: guix environment ad-hoc manifests

2020-10-22 Thread Zelphir Kaltstahl
On 10/22/20 6:00 PM, help-guix-requ...@gnu.org wrote: > Reza Alizadeh Majd writes: > >> On Thu, 22 Oct 2020 13:53:10 +0200 >> Ricardo Wurmus wrote: >> >>> Reza Alizadeh Majd writes: >>> it would also be great to be able to pass list of ad-hoc packages, using a manifest file, something

Re: guix import error + New: setting up a jupyterlab environment

2020-10-24 Thread Zelphir Kaltstahl
Hello Efraim! On 10/21/20 9:18 AM, Efraim Flashner wrote: > On Mon, Oct 19, 2020 at 11:12:35PM +0200, Zelphir Kaltstahl wrote: >> Meanwhile I have managed to run the jupyterlab-server tests, as >> described in more details here: >> https://github.com/jupyterlab/jupyter

Re: guix import error + New: setting up a jupyterlab environment

2020-10-25 Thread Zelphir Kaltstahl
Hi Efraim! On 10/25/20 9:52 AM, Efraim Flashner wrote: > On Sat, Oct 24, 2020 at 09:42:13PM +0200, Zelphir Kaltstahl wrote: >> Hello Efraim! >> >> On 10/21/20 9:18 AM, Efraim Flashner wrote: >>> On Mon, Oct 19, 2020 at 11:12:35PM +0200, Zelphir Kaltstahl wrote: &g

Emacs 27.1 crashes on input method selection

2020-12-19 Thread Zelphir Kaltstahl
Hi Guix users! I installed Emacs 27.1. via GNU Guix and I found one action, which always crashes Emacs in this version, while it did not do that before: M-x set-input-method RET chinese-py RET It crashes completely and shows no error, simply goes down. Am I the only one? Does it happen for anyon

Re: Emacs 27.1 crashes on input method selection

2020-12-21 Thread Zelphir Kaltstahl
Hello Mei Yu, On 12/21/20 4:57 AM, Peng Mei Yu wrote: > Hi Zelphir, > > Zelphir Kaltstahl writes: > >> I installed Emacs 27.1. via GNU Guix and I found one action, which >> always crashes Emacs in this version, while it did not do that before: >> >> M-x

Re: define PATH and PROFILE

2021-01-04 Thread Zelphir Kaltstahl
Hello Christophe! Some time ago I created this: https://notabug.org/ZelphirKaltstahl/guix-package-manager-tutorials/src/33f519f2517685106b7133a7da94cad84d3b/dot-profile-file.org I see, that I also included some individual stuff in there, which you might not need, but perhaps it can be of use.

Re: define PATH and PROFILE

2021-01-04 Thread Zelphir Kaltstahl
tting anything at all ;-) 祝好, regards, Zelphir On 1/4/21 6:56 PM, Tobias Geerinckx-Rice wrote: > Hi Zelphir, Christophe, > > Zelphir Kaltstahl 写道: >> Some time ago I created this: >> https://notabug.org/ZelphirKaltstahl/guix-package-manager-tutorials/src/33f519f2517685106b7133

Find installed library version of GNU Guix commit x

2021-01-06 Thread Zelphir Kaltstahl
Hello Guix users! I would like to know a command line way of finding the version of a library, which I install, when I am using time-machine as follows: guix time-machine \ --channels="${DIR}/channels.scm" -- \ environment \ --manifest="${DIR}/manifest.scm" Where DIR is

Re: Find installed library version of GNU Guix commit x

2021-01-07 Thread Zelphir Kaltstahl
following package will be installed: guile-json 4.4.1 ... I see the version. How can I look up that info in the created environment? Regards, Zelphir On 1/7/21 1:30 PM, zimoun wrote: > Hi, > > On Wed, 6 Jan 2021 at 20:52, Zelphir Kaltstahl > wrote: > >> I would lik

Re: Find installed library version of GNU Guix commit x

2021-01-10 Thread Zelphir Kaltstahl
Hi all! I thought about it again and perhaps the simplest variation of the question is: How to list versions of installed packages of temporary "environments" (best from command line, using a guix command)? Regards, Zelphir On 1/7/21 8:03 PM, Zelphir Kaltstahl wrote: > > Hi sim

Re: Find installed library version of GNU Guix commit x

2021-01-11 Thread Zelphir Kaltstahl
Hi Simon! Yes! That is what I was looking for. Thank you! Regards, Zelphir On 1/11/21 5:04 PM, zimoun wrote: > Hi, > > On Thu, 07 Jan 2021 at 20:03, Zelphir Kaltstahl > wrote: > >> >> guix time-machine \ >> --channels="${DIR}/

Re: How to remove guix

2021-01-15 Thread Zelphir Kaltstahl
Hello Mick, I once messed up my Guix installation, by not using sudo -i when trying to update the root profile, so I had to go through removing it as well. I wrote down all the things I removed though: https://notabug.org/ZelphirKaltstahl/guix-package-manager-tutorials/raw/master/uninstall.org:

calculate hashes for a new packages

2021-03-10 Thread Zelphir Kaltstahl
Hello Guix Users! How does one calculate the hash for a package one wants to add to GNU Guix? I know 2 ways, giving me different results. One is for the repository folder and one is for the tarball: guix hash --exclude-vcs --recursive . guix hash PACKAGE-VERSION-tar.gz # a tarball created

Re: calculate hashes for a new packages

2021-03-10 Thread Zelphir Kaltstahl
Hi Leo! On 3/10/21 8:21 PM, Leo Famulari wrote: > On Wed, Mar 10, 2021 at 08:14:43PM +0100, Zelphir Kaltstahl wrote: >> How does one calculate the hash for a package one wants to add to GNU Guix? >> >> I know 2 ways, giving me different results. One is for the repository fol

Re: calculate hashes for a new packages

2021-03-10 Thread Zelphir Kaltstahl
Hello Zimoun! On 3/10/21 9:19 PM, zimoun wrote: > On Wed, 10 Mar 2021 at 14:21, Leo Famulari wrote: >> On Wed, Mar 10, 2021 at 08:14:43PM +0100, Zelphir Kaltstahl wrote: >>> How does one calculate the hash for a package one wants to add to GNU Guix? >>> >>>

Setting up guix source tree for testing a package

2021-03-11 Thread Zelphir Kaltstahl
Hello Guix Users, I am trying to set up GNU Guix for package testing, as I want to test a package before sending in a patch to add it to GNU Guix. I'll describe the steps I am taking and where I am seeing them in the docs in the following. All is happening inside a VM, which runs a Debian 10. Th

About packaging documentation

2021-03-15 Thread Zelphir Kaltstahl
Hello Guix users! Please treat the following message as a suggestion for improvement for the documentation and not as some kind of rant. Addressing the following docs: - https://guix.gnu.org/manual/en/html_node/Packaging-Guidelines.html - https://guix.gnu.org/manual/en/html_node/Defining-Package

Re: About packaging documentation

2021-03-16 Thread Zelphir Kaltstahl
Hello Ricardo! On 3/15/21 4:43 PM, Ricardo Wurmus wrote: > Hi Zelphir, > >> https://guix.gnu.org/cookbook/en/html_node/Packaging-Tutorial.html >> is a good >> start. It has even got cookbook in the name. Definitely the right idea to >> complement the general documentation. I am aware of its existe

Re: About packaging documentation

2021-03-17 Thread Zelphir Kaltstahl
Hi Ricardo! On 3/16/21 11:03 PM, Ricardo Wurmus wrote: > Hi Zelphir, > >> Hello Ricardo! >> >> On 3/15/21 4:43 PM, Ricardo Wurmus wrote: >>> Hi Zelphir, >>> https://guix.gnu.org/cookbook/en/html_node/Packaging-Tutorial.html is a good start. It has even got cookbook in the name. Defi

Re: Setting up guix source tree for testing a package

2021-03-17 Thread Zelphir Kaltstahl
Hello Frederik! On 3/12/21 2:01 AM, Fredrik Salomonsson wrote: > Hi Zelphir, > > Zelphir Kaltstahl writes: > >> Hello Guix Users, >> >> I am trying to set up GNU Guix for package testing, as I want to test a >> package >> before sending in a patch to a

Re: Setting up guix source tree for testing a package

2021-03-17 Thread Zelphir Kaltstahl
Hi Joshua! On 3/12/21 8:59 PM, Joshua Branson wrote: > Zelphir Kaltstahl writes: > >> Hello Guix Users, >> >> I am trying to set up GNU Guix for package testing, as I want to test a >> package >> before sending in a patch to add it to GNU Guix. >>

Re: About packaging documentation

2021-04-02 Thread Zelphir Kaltstahl
Hello Ricardo! On 3/16/21 11:03 PM, Ricardo Wurmus wrote: > Hi Zelphir, > >> Hello Ricardo! >> >> On 3/15/21 4:43 PM, Ricardo Wurmus wrote: >>> Hi Zelphir, >>> https://guix.gnu.org/cookbook/en/html_node/Packaging-Tutorial.html is a good start. It has even got cookbook in the name. D

Re: About packaging documentation

2021-04-02 Thread Zelphir Kaltstahl
Hi Ricardo! On 4/2/21 1:29 PM, Zelphir Kaltstahl wrote: > > Hello Ricardo! > > On 3/16/21 11:03 PM, Ricardo Wurmus wrote: >> Hi Zelphir, >> >>> Hello Ricardo! >>> >>> On 3/15/21 4:43 PM, Ricardo Wurmus wrote: >>>> Hi Zelphir,

Re: About packaging (was: About packaging documentation)

2021-04-04 Thread Zelphir Kaltstahl
Hi Ricardo! On 4/2/21 11:59 PM, Ricardo Wurmus wrote: > Hi Zelphir, > >> $ ./pre-inst-env guix build guile-fslib >> guix build: error: guile-fslib: unknown package > […] >> Ugh. Not working. > for what it’s worth, I added the definition to > gnu/packages/guile-xyz.scm and it worked. > > I note tha

Re: About packaging documentation

2021-04-04 Thread Zelphir Kaltstahl
On 4/2/21 11:56 PM, Ricardo Wurmus wrote: > Hi Zelphir, > >> (1) The cookbook does not even mention the guile-build-system. […] >> I guess this is, because the cookbook tries to be generic in a way, to apply >> to >> all languages, if only one uses autotools, as those are applicable to all >> lang

Re: About packaging (was: About packaging documentation)

2021-04-04 Thread Zelphir Kaltstahl
Hello Tobias! (Reply is below.) On 4/4/21 4:38 PM, Tobias Geerinckx-Rice wrote: > Hi Zelphir, > > Zelphir Kaltstahl writes: >> The guide at https://guix.gnu.org/manual/en/html_node/Building-from-Git.html >> <https://guix.gnu.org/manual/en/html_node/Building-from-Git.h

Re: About packaging (was: About packaging documentation)

2021-04-04 Thread Zelphir Kaltstahl
Hi! On 4/4/21 4:35 PM, Ricardo Wurmus wrote: > Hi Zelphir, > >> ice-9/boot-9.scm:3300:6: In procedure resolve-interface: >> no code for module (gcrypt hash) > You’ll need guile-gcrypt. > >> How exactly and when exactly did you run make and what other commands did you >> run to get it working when

Question about sending in patches

2021-04-14 Thread Zelphir Kaltstahl
Hello Guix users! A while ago I sent in a patch to add a package, but I realize, that I might have made a mistake, by attaching the git patch file, instead of copy pasting its content as a message. Should I send a new patch with the patch as the only text in the e-mail? Would this conflict with

Re: Question about sending in patches

2021-04-16 Thread Zelphir Kaltstahl
Hello Leo! On 4/15/21 3:08 AM, Leo Famulari wrote: > On Thu, Apr 15, 2021 at 01:11:13AM +0200, Zelphir Kaltstahl wrote: >> A while ago I sent in a patch to add a package, but I realize, that I might >> have >> made a mistake, by attaching the git patch file, instea

Process of adding a package

2021-05-10 Thread Zelphir Kaltstahl
Hello Guix Users! I have questions regarding the sending of patches and associated process of releasing a package via GNU Guix: What is the usual process, after one has sent in a patch adding a new package to GNU Guix? The background of the question is, that approximately 2 months ago, I sent in

Re: Process of adding a package

2021-05-10 Thread Zelphir Kaltstahl
Hi Ricardo! Thank you for your quick reply! I submitted the patch via e-mail attachment. It was recently said on the mailing list, that it should not matter, or even be more reliable, when submitting it as an attachment. However, as I see mostly patches being submitted in the e-mail body, perhaps

Erlang development in GNU Guix environment

2021-06-18 Thread Zelphir Kaltstahl
Hello Guix User! Today I decided to start a second attempt at getting Erlang and Emacs to work in a GNU Guix environment. I hit an error installing the emacs-erlang package. In the following I protocol the steps I took and the resulting error. In my project directory I have the following files

Writing GNU Guix commit messages

2021-07-25 Thread Zelphir Kaltstahl
Hi! My question is regarding writing of commit messages for sending in patches for GNU Guix. Previously I tried to simply answer all questions mentioned at https://www.gnu.org/prep/standards/html_node/Change-Logs.html#Change-Logs However, it turned out, that that was not the desired format. Now

Re: Writing GNU Guix commit messages

2021-07-27 Thread Zelphir Kaltstahl
yasnippet recognizes and then it completes from that? About etc/committer.scm: I assume, that I would run this using "guile etc/committer.scm". Is that the correct way to go? Best regards, Zelphir On 7/26/21 12:03 AM, Ricardo Wurmus wrote: > > Zelphir Kaltstahl writes: > &g

Ignore / Exclude files and directories in a package definition

2021-09-12 Thread Zelphir Kaltstahl
Hello Guix users, I have another question about package definitions: How can I specify in a package definition, that I want Guix to ignore some of the files and directories? I wanted to update my package and thought: "Oh, I simply need to update the version reference and the hash and that will b

Re: How to run a program from an old generation?

2022-01-08 Thread Zelphir Kaltstahl
Hi Alex! I'll describe a way, how I usually manage this. This might be a bad way. I don't know. If anyone thinks, that I am doing it in an unnecessarily complicated way, please tell me : ) You can use a channels.scm file, to refer to the commit, which your GNU Guix is currently on as follows: ~~

Re: mailing list and Evolution / Email client and: Guix, compared with Trisquel/Guix

2022-02-13 Thread Zelphir Kaltstahl
On 2/13/22 14:23, help-guix-requ...@gnu.org wrote: Gottfried writes: What`s the difference to install GNU Guix as a system or install Trisquel and Guix on top of it? What is the advantage of both possibilities? With Guix System you get all the services from Guix System. You can boot older ge

Inkscape icons missing

2022-03-23 Thread Zelphir Kaltstahl
Hello Guix users! I've noticed an issue with Inkscape installed via Guix and wonder whether only I have this issue, or it is more wide spread: When I install Inkscape using the following command: guix shell inkscape -- inscape I get a running Inkscape and it seems to work fine, but all the i

Re: Inkscape icons missing

2022-03-23 Thread Zelphir Kaltstahl
Hello Luis! On 3/23/22 16:46, Luis Felipe wrote: Hi Zelphir, On Wednesday, March 23rd, 2022 at 11:11 AM, Zelphir Kaltstahl wrote: Hello Guix users! I've noticed an issue with Inkscape installed via Guix and wonder whether only I have this issue, or it is more wide spread: When I in

guile-dbi from guix not working

2022-05-07 Thread Zelphir Kaltstahl
Hi! I have repeatedly tried to use guile-dbi from Guix at different commits and failed. I have the following setup for using guile-dbi: channels.scm: (list (channel (name 'guix) (url"https://git.savannah.gnu.org/git/guix.git";) (branch "master") (commit

Re: guile-dbi from guix not working

2022-05-08 Thread Zelphir Kaltstahl
Hello Luis! On 5/7/22 20:44, Luis Felipe wrote: Hi Zelphir, On Saturday, May 7th, 2022 at 11:26 AM, Zelphir Kaltstahl wrote: Is it really broken, or am I doing something wrong? For what it's worth, it fails in the same way for me too. Trying to open a connection results in a handle

Re: guile-dbi from guix not working

2022-05-28 Thread Zelphir Kaltstahl
On 5/25/22 21:18, Arun Isaac wrote: Hi Zelphir, (specifications->manifest '("guile@3.0.8" "guile-dbi")) I think you missed guile-dbd-sqlite3 in the manifest above. With guile-dbd-sqlite3 added, it works for me. Here are my results. --8<---cut here---s

Re: non-input dependencies Was: guile-dbi from guix not working

2022-05-29 Thread Zelphir Kaltstahl
Hi! On 5/29/22 10:58, raingloom wrote: On Sun, 29 May 2022 13:27:23 +0530 Arun Isaac wrote: Hi Zelphir, Should guile-dbd-sqlite3 not be a dependency of guile-dbi then? But on the other hand, what if one only wanted to interact with one database type and not the other? So maybe not a must ha

Package definition hash calculation

2022-07-09 Thread Zelphir Kaltstahl
Hello Guix users! I feel a bit stupid to ask about this topic again, however, to me it is not really clear, what I need to do, when calculating the hash of a package, so that I can write it in the package definition. I have a project (https://notabug.org/ZelphirKaltstahl/guile-fslib), which I

Re: Package definition hash calculation

2022-07-11 Thread Zelphir Kaltstahl
could make it refer to master and not have to provide a hash like so: (source (git-checkout (url "https://…";))) No more chasing afcer master :) On July 9, 2022 1:09:27 PM GMT+02:00, Zelphir Kaltstahl wrote: Hello Guix users! I feel a bit stupid to ask about this topic

Re: Package definition hash calculation

2022-07-12 Thread Zelphir Kaltstahl
7;t think it's documented. I use guix.scm in my projects, so it's supported. I don't understand your issue with the hash then, because now it sounds that you're cloning the same commit everytime, so how do you get a different hash? Le 11 juillet 2022 11:19:25 GMT+02:00, Zel

Error starting a guix shell

2022-07-19 Thread Zelphir Kaltstahl
Hello Guix users! Today I had a strange error, when I ran a `guix shell` command: (repl-version 0 1 1) (exception %exception (non-self-quoting 140737175054176 "#<&message message: \"unsupported manifest format\">")) This happened with guix on foreign distro and that distro is a Xubun

Re: OnlyOffice?

2022-10-08 Thread Zelphir Kaltstahl
Hello! On 10/8/22 03:26, help-guix-requ...@gnu.org wrote: On 2022-10-07 10:07, Ricardo Wurmus wrote: GTK+ comes with broadwayd, which lets you use the browser to render the GUI. Here’s a quick example: guix shell gtk+:bin -- broadwayd :5 & GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 guix s

Racket REPL not working

2023-05-14 Thread Zelphir Kaltstahl
Hello Guix users / package maintainers, I updated guix today using `guix pull && guix package -u`, but even before that, I had an issue starting a Racket REPL simply entering `racket`: $ racket Segmentation fault (core dumped) I am currently at guix: $ guix describe --format=c

Re: Racket REPL not working

2023-05-15 Thread Zelphir Kaltstahl
On 5/15/23 02:20, Felix Lechner wrote: Hi Zelphir, On Sun, May 14, 2023 at 2:57 PM Zelphir Kaltstahl wrote: I updated guix today using `guix pull && guix package -u`, but even before that, I had an issue starting a Racket REPL simply entering `racket`: Following your lead, I just

Re: Racket REPL not working

2023-05-15 Thread Zelphir Kaltstahl
On 5/15/23 18:18, Efraim Flashner wrote: On Sun, May 14, 2023 at 09:56:35PM +, Zelphir Kaltstahl wrote: Hello Guix users / package maintainers, I updated guix today using `guix pull && guix package -u`, but even before that, I had an issue starting a Racket REPL simply entering

How long does it usually take to pull --no-substitutes?

2023-05-20 Thread Zelphir Kaltstahl
Hello Guix users! Recently I had an issue when I did a `guix pull`, so I tried `guix pull --no-substitutes`. My understanding is, that substitutes are platform specific pre-built binaries, which one can download from the guix servers, instead of building them oneself. (Please correct me, if th

Re: How long does it usually take to pull --no-substitutes?

2023-05-22 Thread Zelphir Kaltstahl
Hello Felix! On 5/22/23 00:00, Felix Lechner wrote: Hi Zelphir, On Sat, May 20, 2023 at 4:06 AM Zelphir Kaltstahl wrote: Sorry to be this vague Being similarly vague, I think you did the right thing. Something was definitely stuck. I also abort such runs from time to time. On my seven-year

Re: VSCode DevContainer for Guix? (Yasuaki Kudo)

2023-07-11 Thread Zelphir Kaltstahl
Hello Yasu, There are some legal aspects about using the official "marketplace" from other than the official VSCode build: https://github.com/VSCodium/vscodium/blob/master/DOCS.md#extensions--marketplace at least according to the VSCodium linking to https://github.com/microsoft/vscode/issues/

Re: Entering the sudo password before guix pull when updating the, system

2024-08-20 Thread Zelphir Kaltstahl
> How can I enter the sudo password before `guix pull` runs when updating with `guix pull && sudo guix system reconfigure config.scm`? > `sudo sh -c "su -c 'guix pull' $USER && guix system reconfigure config.scm"` returns: > "hint: After setting PATH, run hash guix to make sure your shell ref

Re: GUIX installation / uninstallation problem

2019-04-17 Thread Zelphir Kaltstahl
I already fixed it : ) I had to _restart_ the guix daemon. Note: It was already running according to `systemctl status`. So this might be worth some consideration for the future: If the daemon is running, but there is no socket, tell the user something like: "You might need to restart your guix da

Re: Uninstall/Install Guix (Ludovic Court?s)

2019-04-22 Thread Zelphir Kaltstahl
Hi! As mentioned on the list, I recently had the same problem: How to uninstall Guix (completely) and then reinstall it? What helped me in the end eas the following Arch wiki entry: https://wiki.archlinux.org/index.php/Guix#Uninstalling_Guix (Adapt this to what the commands and locations look l

Warnings when doing guix pull

2019-05-01 Thread Zelphir Kaltstahl
Hi, Today I did a guix pull and encountered the following warnings: ~~~ [ 9/42] Compiling './guix/build/download.scm'... ;;; Failed to autoload make-session in (gnutls): ;;; missing interface for module (gnutls) ;;; Failed to autoload connection-end/client in (gnutls): ;;; missing interface for

Re: Re: Warnings when doing guix pull

2019-05-04 Thread Zelphir Kaltstahl
Hi, Yes, that could be. I do not remember when exactly I installed it, but it was a few months ago probably. Is there a way of upgrading without reinstalling it? Regards, Zelphir On 5/3/19 11:40 AM, help-guix-requ...@gnu.org wrote: > Hello Zephir, > > Zelphir Kaltstahl

IceCat from Guix all monospaced font

2019-05-04 Thread Zelphir Kaltstahl
Hello Guix Users, Today I installed GNU Icecat from Guix and everything works fine, except for one thing: The whole Icecat UI uses a monospaced font and on every website everything is monospaced. I've tried for hours to change fonts using userChrome.css to no avail. I also tried inspecting the UI

Re: IceCat from Guix all monospaced font

2019-05-04 Thread Zelphir Kaltstahl
04, 2019 at 07:19:40PM +0200, Zelphir Kaltstahl wrote: >> My guess is, that somehow Icecat installed via Guix is not able to pick >> up system wide installed fonts and always, no matter what I set, falls >> back to a monospaced font. Following this guess, I installed Liberation >

Re: IceCat from Guix all monospaced font

2019-05-04 Thread Zelphir Kaltstahl
Ah well, at least I now know that I am not the only one with this issue in Icecat. Thank you. On 5/4/19 7:51 PM, Tanguy Le Carrour wrote: > Hi Zelphir, hi Guix! > > Le 05/04, Zelphir Kaltstahl a écrit : >> Today I installed GNU Icecat from Guix and everything works fine, except &

Re: IceCat from Guix all monospaced font

2019-05-04 Thread Zelphir Kaltstahl
Hi, thanks for your reply! First I tried the fc-match. It returned: DejaVuSans.ttf: "DejaVu Sans" "Book" Then I looked for the ~/.config/gtk-3.0/settings.ini file. It did not exist, only "bookmarks" and "gtk.css" existed at that location. So I created the "settings.ini" file and put in there the

  1   2   >