Hi Marco,
Marco Fortina writes:
> This patch closes issue when running "guix shell --container --emulate-fhs
> clang-toolchain gcc-toolchain" or "guix shell --container --emulate-fhs
> clang-toolchain gcc-toolchain":
>
>
> diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.sc
Hi Marco,
Marco Fortina skribis:
> Yes, only changes in the environment.scm files are required for fixing the
> issue.
>
> Why did you make the patch so complex?
[...]
>> +(when (file-exists? gcc-path)
>> + (catch 'system-error
>> +(lambda ()
>> + (symlink gcc-path "
On Thu, Oct 24, 2024 at 4:03 AM Marco Fortina wrote:
>
> Hello!
>
> Yes, only changes in the environment.scm files are required for fixing the
> issue.
>
> Why did you make the patch so complex?
There are many potential errors in addition to EEXIST:
https://man7.org/linux/man-pages/man2/symlin
Hello, note that this is linked to issue #73799,
since the original patch was submitted both to
guix-devel and guix-patches.
Regards,
Rutherther
ch in FHS default locations, so provide a
____________
Da: Ludovic Courtès
Inviato: mercoledì 23 ottobre 2024 22:26
A: Marco Fortina
Cc: guix-devel@gnu.org
Oggetto: Re: guix shell: error: symlink: File exists: "/bin/cc"
Hi,
Marco Fortina skribis:
> I have this
--->8---
$ guix shell -CF gcc-toolchain clang-toolchain
guix shell: error: symlink: File exists: "/bin/cc"
--8<---cut here---end--->8---
> --- a/gnu/packages/llvm.scm
> +++ b/gnu/packages/llvm.scm
> @@ -512,8 +512,10 @@ (defi
This patch closes issue when running "guix shell --container --emulate-fhs
clang-toolchain gcc-toolchain" or "guix shell --container --emulate-fhs
clang-toolchain gcc-toolchain":
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index a219b2ac89..37f11395f9 100644
--- a/g
Hello there.
I have this issue when with guix time-machine shell when using --emulate-fhs
option and having gcc-toolset and clang-toolset in my manifest.scm.
I this this could be solved with this patch:
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 9f851a478e..7a276569e9 1006