bug#66651:

2023-10-20 Thread Hugo Buddelmeijer
Csepp riseup.net> wrote: > You can use the kernel-arguments option in the operating-system config. > Untested: > (kernel-arguments (cons "i915.enable_guc=0" %default-kernel-arguments)) > This should work, in theory. Thanks, using kernel-arguments indeed works! The idea to use i915.enable_guc

bug#66651: How to pass i915.enable_guc=0 in config.scm to prevent a 'wedged' GPU?

2023-10-20 Thread Hugo Buddelmeijer
The i915 driver will try to load the GuC firmware, at least for Iris Xe chips. Loading the GuC firmware fails because it is non-free and deblobbed. As a result, some software, like sway, will not work. It is possible to manually pass the i915.enable_guc=0 kernel parameter at boot from grub. Then

bug#65769:

2023-10-20 Thread Hugo Buddelmeijer
o On Fri, 20 Oct 2023 at 12:14, Hugo Buddelmeijer wrote: > > Thank you bdju! > > Your config also does not work for me, so my specific problem is > probably hardware related. Thanks for helping me isolate the problem. > Apparently I was naive in assuming that i915 would mean

bug#65769:

2023-10-20 Thread Hugo Buddelmeijer
at the top of the screen (sometimes), but my problem seems unrelated to this issue, because greetd/wlgreet is now not involved. I will therefore not discuss my problem here further. Hugo On Fri, 20 Oct 2023 at 12:02, bdju wrote: > > On Fri Oct 20, 2023 at 4:01 AM CDT, Hugo Buddelmeijer

bug#65769:

2023-10-20 Thread Hugo Buddelmeijer
Hi chirs, Josselin, unmatchedparenthesis, Thank you for your example configs! It allowed me to get sway up and running under Guix. For those interested, here is my configuration: https://gist.github.com/hugobuddel/cd08fc2980c6901ff4a2df5c57531e46 However, I might switch to something else for

bug#63277: python-anaconda-client and conda fail

2023-09-11 Thread Hugo Buddelmeijer
The conda package seems to be fixed, and python-anaconda-client also builds. So I think this can be closed. On Mon, 8 May 2023 at 14:22, Hugo Buddelmeijer wrote: > > Sending the patches seems to have worked out just fine. Except that > number 2 got in my own spam folder. > > I for

bug#63277: python-anaconda-client and conda fail

2023-05-08 Thread Hugo Buddelmeijer
Sending the patches seems to have worked out just fine. Except that number 2 got in my own spam folder. I forgot that I also needed to update python-defusedxml to 0.7.1. Using guix does feel a bit like a moving target. It is good to learn how to fix such issues yourself, because they will pop-up

bug#63277: [PATCH 3/5] gnu: conda: Remove python-anaconda-client dependency.

2023-05-08 Thread Hugo Buddelmeijer
* gnu/packages/package-management.scm (conda): Remove python-anaconda-client dependency. --- gnu/packages/package-management.scm | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index

bug#63277: [PATCH 2/5] gnu: python-conda-package-handling: Update to 2.1.0

2023-05-08 Thread Hugo Buddelmeijer
* gnu/packages/package-management.scm (python-conda-package-handling): Update to 2.1.0 --- gnu/packages/package-management.scm | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm

bug#63277: [PATCH 5/5] gnu: python-anaconda-client: Update to 1.11.2

2023-05-08 Thread Hugo Buddelmeijer
* gnu/packages/package-management.scm (python-anaconda-client): Update to 1.11.2. --- gnu/packages/package-management.scm | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index

bug#63277: [PATCH 1/5] gnu: Add python-conda-package-streaming.

2023-05-08 Thread Hugo Buddelmeijer
* gnu/packages/python-xyz.scm (python-conda-package-streaming): New variable. --- gnu/packages/python-xyz.scm | 31 +++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a5c99a6f20..c627e456e1 100644 ---

bug#63277: [PATCH 4/5] gnu: python-defusedxml: Update to 0.7.1.

2023-05-08 Thread Hugo Buddelmeijer
* gnu/packages/xml.scm (defused-python): Update to 0.7.1. --- gnu/packages/xml.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 2bc4f66c01..c4ab832bc5 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@

bug#63277: python-anaconda-client and conda fail

2023-05-08 Thread Hugo Buddelmeijer
Hi Etienne, I've noticed that conda (22.9.0) does not build as well, and have resolved the issue in my local guix clone. It required these changes: - Add python-conda-package-streaming 0.7.0. - Upgrade python-conda-package-handling from 1.7.3 to 2.1.0 (which has python-conda-package-streaming as

bug#62422: IRC channel log search results are not chronological for recent logs

2023-03-24 Thread Hugo Buddelmeijer
Hi all, Ricardo, Searching through the IRC channel logs on https://logs.guix.gnu.org/ will show a list of matches sorted on date in descending order, except for matches from this February or March, those are at the bottom, often beyond the 100 match limit. For example, 'vdirsyncer' results in 31

bug#59771: Conda 22.9.0 needs "sudo" as dependency

2022-12-04 Thread Hugo Buddelmeijer
On Sat, 3 Dec 2022 at 20:11, Hugo Buddelmeijer wrote: > > But maybe 59771 (this bug), 59772 (also due to sudo), and 59776 (hardcoded > paths), all three could be resolved in a more guix-y way. The problem in > these three bugs is that "conda init" wants to add something to

bug#59771: Conda 22.9.0 needs "sudo" as dependency

2022-12-03 Thread Hugo Buddelmeijer
so maybe this is not something that is possible in guix? E.g. the conda openjdk package sets JAVA_HOME, but the guix openjdk package does not. Greetings, Hugo On Fri, 2 Dec 2022 at 12:47, Tobias Geerinckx-Rice wrote: > Hi Hugo, > > Hugo Buddelmeijer 写道: > > As for why s

bug#59776: Conda hardcodes guix hash in .bashrc

2022-12-02 Thread Hugo Buddelmeijer
Hi all, Conda adds some bash functions to ~/.bashrc, but those contain a hardcoded guix hash. That means that conda will break between upgrades: hugo@alex ~/t$ guix shell -C conda hugo@alex ~/t [env]$ conda init bash # ignore errors hugo@alex ~/t [env]$ echo "$(<~/.bashrc)" # no coreutils # >>>

bug#59775: Conda requires coreutils as a runtime dependency

2022-12-02 Thread Hugo Buddelmeijer
Hi all, Conda requires coreutils as a runtime dependency: hugo@alex ~/t $ guix shell -C conda hugo@alex ~/t [env]$ conda init bash # ignore errors hugo@alex ~/t [env]$ source ~/.bashrc sh: dirname: command not found sh: dirname: command not found The "dirname" errors go away when coreutils is

bug#59774: Activating conda environments breaks the prompt because bash eats PS1

2022-12-02 Thread Hugo Buddelmeijer
Hi all, ### Summary Activating a conda environment on guix will break your bash prompt, because guix' binary-replacing-bash-script eats PS1. ### Reproduce E.g.: # Start a container with conda hugo@alex ~/t $ guix shell -C conda sudo bash # Add conda functions to ~/.bashrc. This

bug#59772: conda 22.9.0 breaks "conda init bash"

2022-12-02 Thread Hugo Buddelmeijer
Hi all, Conda 22.9.0 breaks "conda init bash". Conda requires some functions to be present in ~/.bashrc (or equivalent dot file for other shells) in order to function as intended [*]. These functions are added there through "conda init bash", which each conda user should run once. $ guix shell

bug#59771: Conda 22.9.0 needs "sudo" as dependency

2022-12-02 Thread Hugo Buddelmeijer
Hi all, Conda 22.9.0 needs "sudo" as a dependency: $ guix shell -C conda [env]$ conda --version conda 22.9.0 [env]$ conda init bash [...] Traceback (most recent call last): [...] File "/gnu/store/lvip6h5pamjwmvnkwg60sjb63ph8698k-python-3.9.9/lib/python3.9/subprocess.py", line 18 21,

bug#42920: conda 4.8.3 on guix cannot activate environments

2021-03-01 Thread Hugo Buddelmeijer
ng very long "export PYTHONPATH" lines. This can be avoided by explicitly setting the history file to nothing: HISTFILE= bash --norc -i "$CONDA_EXE" $_CE_M $_CE_CONDA Cheers, Hugo On Tue, 25 Aug 2020 at 17:03, Hugo Buddelmeijer wrote: > Hi Ricardo, > > On

bug#42920: conda 4.8.3 on guix cannot activate environments

2020-08-25 Thread Hugo Buddelmeijer
Hi Ricardo, On Tue, 25 Aug 2020 at 14:35, Ricardo Wurmus wrote: > > > The problem with the prompt arises from step 4), because 'conda' has bash > > as interpreter, and "non-interactive bashes go out of their way to unset > > PS1": > > >

bug#42920: conda 4.8.3 on guix cannot activate environments

2020-08-23 Thread Hugo Buddelmeijer
Just sharing a bit of more info about why the conda prompt breaks. On Fri, 21 Aug 2020 at 05:52, Ricardo Wurmus wrote: > > Hugo Buddelmeijer writes: > > > 2. The prompt is not set correctly, as in, what should happen is that the > > current conda environment is added t

bug#42920: conda 4.8.3 on guix cannot activate environments

2020-08-20 Thread Hugo Buddelmeijer
Hi Ricardo, On Wed, 19 Aug 2020 at 12:07, Ricardo Wurmus wrote: > > > The conda 4.8.3 package on guix does not seem to work as expected. > > Thanks for letting me know. The upgrade took a long time and required > quite a bit of patching. > Thanks for doing this hard work! It is much

bug#42920: conda 4.8.3 on guix cannot activate environments

2020-08-18 Thread Hugo Buddelmeijer
Dear Ricardo et al., The conda 4.8.3 package on guix does not seem to work as expected. Conda info: hugo@alex ~$ which conda /home/hugo/.guix-profile/bin/conda hugo@alex ~$ realpath $(which conda) /gnu/store/ihn8dbs84rmc3ai7r1vkvh4cya518wmx-conda-4.8.3/bin/conda hugo@alex ~$ conda -V conda