Re: Bug? Haskell GHC wont' work since ghc@8.6?

2021-01-10 Thread yasu
Hi John, Oh, I see! I wonder if it possible to have a more convinient haskell-for-a-casual-developer like package or: parameterize the command itself, say: guix install ghc -option1=blah, -option2=blah, and provide default options as well? In the very least, a warning message explaining this

Bug? Haskell GHC wont' work since ghc@8.6?

2021-01-10 Thread John Soo
Hi yasu, This question comes up on the mailing list every so often, but I don’t think it is a bug. I want to be able to choose the c toolchain ghc uses myself. I would rather introduce some Haskell specific documentation. We discussed during the guix day that we

Re: packaging a golang package

2021-01-10 Thread Timmy Douglas
I also tried Helio's branch, rebased on the latest, with the following changes: diff --git a/guix/import/go-modules.scm b/guix/import/go-modules.scm index 20fc5c9642..811c9f60ae 100644 --- a/guix/import/go-modules.scm +++ b/guix/import/go-modules.scm @@ -290,7 +290,7 @@ VERSION, MODULE-INPUTS,

Re: Bug? Haskell GHC wont' work since ghc@8.6?

2021-01-10 Thread yasu
Hi John, Thank you, after installing gcc-toolchain, it worked! Then this is indeed a bug that should be very simple to fix? Just require gcc-toolchain (or some of its required features) as a GHC's dependency? I am also curious, what kind of testing (if any?) does Guix perform for packages?? Or

Re: Bug? Haskell GHC wont' work since ghc@8.6?

2021-01-10 Thread John Soo
Hi yasu, Compiling with ghc requires a c toolchain (like gcc-toolchain) installed to work. Can you try again after installing gcc-toolchain?Ghc has not been perfect for me recently but I use it quite a lot. Hope that helps, John

Bug? Haskell GHC wont' work since ghc@8.6?

2021-01-10 Thread yasu
This one ought to be very simple to solve (or at least confirm). Does anyone use Haskell daily? I am a very casual user of Haskell (GHC) and when I tried to compile something just now, I noticed that it can't even compile the simplest possible program..., unless I downgrade to ghc@8.4 or lower.

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 simon! > > I'll try

Re: How to replace a system package with a patched version in system configuration?

2021-01-10 Thread miyamoto moesasji
I use a heavily customised keyboard layout (https://github.com/moesasji/xkeyboard-config/commit/23fdb4a6966fd65b98b1fd303cfaecf8fcae8556); as I result I need to add my customized layout to the system before I can use the existing keyboard configuration mechanism in guix for the system as a whole.

Re: How to replace a system package with a patched version in system configuration?

2021-01-10 Thread John Soo
Hello, The operating system and several services and bootloader configurations already have keyboard-layouts as parameters. What keyboard configuration do you need? Hth, John

How to replace a system package with a patched version in system configuration?

2021-01-10 Thread miyamoto moesasji
I want to add my custom keyboard layout by patching xkeyboard-config so that this layout can be used in the rest of the system configuration. >From the manual on defining package variants it is clear how to define such a patched variant. However it is not at all clear to me how to use the various