eisb...@tilde.team skribis:
> Ok. Thank you! That worked. At least it compiles now... However I happen to
> get the following error during the compilation process:
>
>
> zcat
> /var/log/guix/drvs/1l/3q5c3d89fv3dibynv55v3jqa4cdmxl-linux-libre-6.2.9.drv.gz
> ==
t; > In ice-9/boot-9.scm:
> >
> > 1685:16 1 (raise-exception _ #:continuable? _)
> >
> > 1685:16 0 (raise-exception _ #:continuable? _)
> >
> > ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> >
> > Mismatching configurations i
; ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> Mismatching configurations in .config and arch/x86/configs/guix_defconfig
> (("CONFIG_DEBUG_INFO" (#f "y")))
Hi.
Using the 'customize-linux' function with the '#:configs' keyword just
adds the specif
eisb...@tilde.team skribis:
> Hello,
> I'm having problems compiling the linux-libre kernel with a custom config.
> I'm aiming at enabeling the debug info.
> The problem I am troubled with is that the configuration I am telling guix to
> use in my /etc/config.scm (guix system reconfigure /etc/co
Hello,
I'm having problems compiling the linux-libre kernel with a custom config. I'm
aiming at enabeling the debug info.
The problem I am troubled with is that the configuration I am telling guix to
use in my /etc/config.scm (guix system reconfigure /etc/config.scm) is not
taken by guix for com
>> Something that I don't understand:
>>
>> root@guixsd ~# guix --version
>> guix (GNU Guix) 20160722.06
>> root@guixsd ~# which guix
>> /run/current-system/profile/bin/guix
>
> This one is recent, and the ‘local-file’ trick should work with it.
Indeed, thanks
>> vince@guixsd ~$ guix --version
>>
Vincent Legoll skribis:
> Something that I don't understand:
>
> root@guixsd ~# guix --version
> guix (GNU Guix) 20160722.06
> root@guixsd ~# which guix
> /run/current-system/profile/bin/guix
This one is recent, and the ‘local-file’ trick should work with it.
> vince@guixsd ~$ guix --version
>
And it appears that this is causing the error
[...] package `linux-libre-for-myself-4.5' has an invalid input:
("kconfig" [...]
--
Vincent Legoll
Something that I don't understand:
root@guixsd ~# guix --version
guix (GNU Guix) 20160722.06
root@guixsd ~# which guix
/run/current-system/profile/bin/guix
vince@guixsd ~$ guix --version
guix (GNU Guix) 0.10.0
vince@guixsd ~$ which guix
/run/current-system/profile/bin/guix
--
Vincent Legoll
> Support for using ‘local-file’ and similar in package inputs was added
> by commit da675305ddf2ba574e309e515d18ae1f778297be (June 15th).
>
> Could it be that you’re using an older Guix?
That's possible, I did a few guix pulls since I installed from 0.10.0 usb
but
$ guix --version
guix (GNU Gui
Vincent Legoll skribis:
> On Thu, Jul 21, 2016 at 2:06 PM, Ludovic Courtès wrote:
>> Here’s a more complete example that works for me.
>>
>> First, I have this linux-libre.scm file in my GUIX_PACKAGE_PATH:
>>
>> --8<---cut here---start->8---
>> (define-module
On Thu, Jul 21, 2016 at 2:06 PM, Ludovic Courtès wrote:
> Vincent Legoll skribis:
>
>>> (define-public my-own-linux-libre
>>> (package
>>> (inherit linux-libre)
>>> (native-inputs
>>> `(("kconfig" ,(local-file "./my-kernel.conf"))
>>> ,@(alist-delete "kconfig"
Vincent Legoll skribis:
>> (define-public my-own-linux-libre
>> (package
>> (inherit linux-libre)
>> (native-inputs
>> `(("kconfig" ,(local-file "./my-kernel.conf"))
>> ,@(alist-delete "kconfig" (package-native-inputs linux-libre))
>>
>> … which can be drop
> (define-public my-own-linux-libre
> (package
> (inherit linux-libre)
> (native-inputs
> `(("kconfig" ,(local-file "./my-kernel.conf"))
> ,@(alist-delete "kconfig" (package-native-inputs linux-libre))
>
> … which can be dropped in a file in $GUIX_PACKAGE_PAT
Vincent Legoll writes:
>
> Does it have to be in root's $GUIX_PACKAGE_PATH, or can guix system
> reconfigure
> work as a user ? That would be a sufficiently good solution, I think...
“guix system reconfigure” has to be run as root. With “sudo -E” you can
preserve the current user’s environment
gt;> (inherit linux-libre)
>> (native-inputs
>> (let ((conf (kernel-config (or (%current-target-system)
>> (%current-system))
>> #:variant variant)))
>>`(,@(alist-dele
Vincent Legoll skribis:
> Would the following work in the mean time ?
>
> 1. Adding the following to gnu/packages/linux.scm :
>
> (define-public linux-libre-config variant
> (package
> (inherit linux-libre)
> (native-inputs
> (let ((conf (kernel-config
Would the following work in the mean time ?
1. Adding the following to gnu/packages/linux.scm :
(define-public linux-libre-config variant
(package
(inherit linux-libre)
(native-inputs
(let ((conf (kernel-config (or (%current-target-system
Hi,
Changing the kernel config is currently inconvenient as you can see.
Ideally we should provide an API to express a set of options to turn on
and off.
Ludo’.
Thanks a lot, I'll see if I manage to get that done...
On Sat, Jul 16, 2016 at 7:39 PM, Ricardo Wurmus wrote:
>
> Vincent Legoll writes:
>
>> I'm wondering if it is possible to pass a .config file to be used for
>> "guix system", as
>> currently the config used is very heavy, and takes ages to b
Vincent Legoll writes:
> I'm wondering if it is possible to pass a .config file to be used for
> "guix system", as
> currently the config used is very heavy, and takes ages to build.
To use a different configuration you would create a new package variant
of the “linux-libre” package in “gnu/pac
hello,
I'm wondering if it is possible to pass a .config file to be used for
"guix system", as
currently the config used is very heavy, and takes ages to build.
Thanks
--
Vincent Legoll
I've seen in gnu/packages/linux.scm that the default configs
are in gnu/packages/linux-libre-*.conf
--
Vincent Legoll
23 matches
Mail list logo