Re: Problems with guile
Efraim Flashner skribis: > On Wed, Mar 14, 2018 at 02:03:01PM +0100, Ludovic Courtès wrote: >> Hello Jone, >> >> Jone skribis: >> >> > After comment string in ~/.guile "(use-modules (ice-9 readline))" >> > guile starts, but does not highlight matching brackets as before. >> >> The (ice-9 readline) module is now part of the ‘guile-readline’ >> package. Thus, to get that functionality, you need to run: >> >> guix package -i guile-readline > > gnu/system/shadow.scm has: > (".guile" ,(plain-file "dot-guile" > "(cond ((false-if-exception (resolve-interface '(ice-9 > readline))) > > so we might want to fix this systemwide This ~/.guile template is for new installs, to adequately deal with missing (ice-9 readline). People who already had a ~/.guile have to adjust it or install guile-readline, we can’t do that for them. Ludo’.
Re: system vm fails (reprise)
Catonano skribis: > 2018-03-16 23:20 GMT+01:00 Björn Höfling > : > >> On Fri, 16 Mar 2018 21:54:24 +0100 >> Catonano wrote: >> >> > 2018-03-16 21:38 GMT+01:00 Marius Bakke : >> > >> > > Catonano writes: >> > > >> > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ >> > > >>--image-size=10GB \ >> > > >>--share=$HOME/transit=/transit >> > > > guix system: error: build failed: error parsing derivation >> > > > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': >> > > > expected string `Derive([' [...] >> guix gc -d /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv >> >> And then start again with your `guix system vm ...` >> >> >> Björn >> > > > After "guix gc" it works !! Looks like you had corrupt files, which is a bad sign. Ludo’.
Re: Modify system behavior after reconfigure
Hello, Jone skribis: > (Forgive me for my bad English, but mostly I only read in this > language, not write). If you want, you can write in one of the other languages that developers speak: https://www.gnu.org/software/guix/contact/ Ludo’.
Re: system vm fails (reprise)
On Tue, 20 Mar 2018 11:54:54 +0100 l...@gnu.org (Ludovic Courtès) wrote: > Catonano skribis: > > > 2018-03-16 23:20 GMT+01:00 Björn Höfling > > : > > > >> On Fri, 16 Mar 2018 21:54:24 +0100 > >> Catonano wrote: > >> > >> > 2018-03-16 21:38 GMT+01:00 Marius Bakke : > >> > > >> > > Catonano writes: > >> > > > >> > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ > >> > > >>--image-size=10GB \ > >> > > >>--share=$HOME/transit=/transit > >> > > > guix system: error: build failed: error parsing derivation > >> > > > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': > >> > > > expected string `Derive([' > > [...] > > >> guix gc > >> -d /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv > >> > >> And then start again with your `guix system vm ...` > >> > >> > >> Björn > >> > > > > > > After "guix gc" it works !! > > Looks like you had corrupt files, which is a bad sign. Marius opened a bug for this one: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30875 Björn
Re: system vm fails (reprise)
2018-03-20 13:45 GMT+01:00 Björn Höfling : > On Tue, 20 Mar 2018 11:54:54 +0100 > l...@gnu.org (Ludovic Courtès) wrote: > > > Catonano skribis: > > > > > 2018-03-16 23:20 GMT+01:00 Björn Höfling > > > : > > > > > >> On Fri, 16 Mar 2018 21:54:24 +0100 > > >> Catonano wrote: > > >> > > >> > 2018-03-16 21:38 GMT+01:00 Marius Bakke : > > >> > > > >> > > Catonano writes: > > >> > > > > >> > > > ~$ guix system vm ~/configs/vm-config-desktop.scm \ > > >> > > >>--image-size=10GB \ > > >> > > >>--share=$HOME/transit=/transit > > >> > > > guix system: error: build failed: error parsing derivation > > >> > > > `/gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv': > > >> > > > expected string `Derive([' > > > > [...] > > > > >> guix gc > > >> -d /gnu/store/dp8ywhh22n8ixikqdvsb6w6qbn4iw899-environment.drv > > >> > > >> And then start again with your `guix system vm ...` > > >> > > >> > > >> Björn > > >> > > > > > > > > > After "guix gc" it works !! > > > > Looks like you had corrupt files, which is a bad sign. > > > Marius opened a bug for this one: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30875 > > Björn > Yes Björn, thank you, I saw it
Re: Modify system behavior after reconfigure
> If you want, you can write in one of the other languages that > developers speak: Хорошо, Ludo’, я пишу на своем языке. У меня куча вопросов, но к сожалению мануалы GNU не являются "быстрорастворимыми". А кроме мануалов любая другая документация с примерами ("howto") отсутствует!
Re: Modify system behavior after reconfigure
Привет Jone, Jone writes: > У меня куча вопросов, но к сожалению мануалы GNU не являются > "быстрорастворимыми". Не бойтесь задавать вопросы здесь или IRC канале #guix на freenode. :-) Если документация нуждается в дополении или разъяснении какой-то темы, пожалуйста скажите от этом! > А кроме мануалов любая другая документация с примерами ("howto") > отсутствует! Документация в форматах ‘texinfo’ не похожа на формат ‘wiki’. Страницы ‘wiki’ крупных дистрибутивов GNU/Linux чаще всего являются “howto” сделать X с помощью Y. Однако такой подход не дает знаний о X и Y. Если посмотреть на NixOS, то у них были официальные страницы ‘wiki’, но они пришли к выводу описанному мной выше и прекратили ее поддержку. Oleg. signature.asc Description: PGP signature
Re: Modify system behavior after reconfigure
Jone (2018-03-20 23:12 +0300) wrote: >> If you want, you can write in one of the other languages that >> developers speak: > > Хорошо, Ludo’, я пишу на своем языке. У меня куча вопросов, но к > сожалению мануалы GNU не являются "быстрорастворимыми". А кроме > мануалов любая другая документация с примерами ("howto") отсутствует! Действительно, никакой другой официальной документации кроме мануала нет, и это, в общем, политика Guix: "если что-то нуждается в документировании, то это должно быть в мануале" (ну, что-то в этом духе). Так что, как сказал Олег, если вам что-либо не понятно, пожалуйста, спрашивайте и не стесняйтесь сообщить, если считаете, что что-нибудь в мануале должно быть улучшено/исправлено/дополнено. Создание же отдельных "howto" или wiki не планируется, хотя есть несколько неофициальных источников, например: https://gitlab.com/rain1/guix-wiki/wikis/home https://gitlab.com/pjotrp/guix-notes Concise translation: Jone said that the manual is not an easy read and unfortunately there are no HOWTOs. Oleg and I answered that the manual is indeed the only official source of documentation and people are always welcome to improve it in any way. -- Alex
Re: keyboard layout and system locale
2018-03-19 14:23 GMT+01:00 Diego Nicola Barbato : > Hello Catonano > > Catonano writes: > > > 2018-03-18 18:58 GMT+01:00 Catonano : > > > > 2018-03-17 16:01 GMT+01:00 Diego Nicola Barbato : > > > > Hello Catonano > > > > Catonano writes: > > > > > Can I set up the keyboard layout and my system locale (Italian) for > my Gnome desktop in my conf.scm file ? > > > > > > Otherwise I have to click around in every throaway virtual machine I > create in order to be able to use the desktop environment > > > > > > Thanks > > > > To set the keyboard layout in my config.scm I replaced %desktop-services > > with this: > > > > (modify-services %desktop-services > > (slim-service-type config => > > (slim-configuration > > (inherit config) > > (startx (xorg-start-command > > #:configuration-file > > (xorg-configuration-file > > ;; Setup X to use a swiss german keyboard layout. > > #:extra-config > > '("Section \"InputClass\" > > Identifier \"keyboard-all\" > > Option \"XkbLayout\" \"ch\" ; <~ replace \"ch\" with \"it\" > > > > Ok, the semicolon is illegal Xorg syntax and made the server crash !! > > I am sorry. I meant to write a comment to explain which entry you > should replace and forgot that my "comment" was still inside the > string. Everything after and including the semicolon is not supposed to > be there. I apologise for this silly mistake. > No need to apologize, I was not blaming you Sorry if that came out the wrong way ! > I wrote an example config (based on the one you posted) and verified > that it works both with `guix system vm-image' and `guix system init' > (after modifying the target hard disk) and that the X server does not > crash: > > Unfortunately GNOME overrides the system wide keyboard settings. So > this only addresses your initial concern if you use Xfce. > That's something ;-) For now I used the VMs to open 2 bugs related to Gnome. There's an "ibus" thing not working And a control panel crashing Didn't test your new file yet, I'll let you know !! Thanks !
Re: keyboard layout and system locale
2018-03-19 14:38 GMT+01:00 ng0 : > Chris Marusich transcribed 1.7K bytes: > > Catonano writes: > > > > > Can I set up the keyboard layout and my system locale (Italian) for my > > > Gnome desktop in my conf.scm file ? > > > > > > Otherwise I have to click around in every throaway virtual machine I > create > > > in order to be able to use the desktop environment > > > > You may also be interested in the console-keymap-service, as mentioned > > in (guix) Base Services. It seems related. Also, see section (guix) > > Preparing for Installation, which briefly mentions "Keyboard Layout". I > > found these by searching the index of the Guix manual for words like > > "keymap" and "keyboard". > > > > I'm afraid I don't have any useful advice regarding the slim-related > > problems you're having, though. > > I can be helpful: Catonano is hitting this "bug": > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26234 > > It's a lack of features in SLIM. But it only affects Gnome ! Xfce works gets configured ! Do they manage the session differently ? Anyway, thank you people.
ttyS0
I have this couple of lines in my configuration (service agetty-service-type (agetty-configuration (tty "ttyS0"))) When I launch the VM I see a lot off stu scrolling on ttyS0 But then, when I try to login, I get these error messages -bash: impossibile impostare il gruppo di processi del terminale (341): ioctl non appropriata per il device -bash: nessun controllo dei job in questa shell It says: -bash: the setup of the group of processes of the terminal (341) is impossible: ioctl not suited for the device -bash: no jobs control in this shell This is not vital. I can live without this It's just that I'd like to be able to log in through the host terminal Thanks