You are here

IRC logs for #guix, 2017-06-25 (GMT)

2017-06-24
2017-06-26
TimeNickMessage
[00:28:09]* dimaursu16 has quit (Ping timeout: 255 seconds)
[00:50:37]* daviid has joined #guix
[00:50:39]* LuNaTicPanDora has quit (Ping timeout: 276 seconds)
[00:54:24]<earthfail22>guys, how much on average would it take to complete installing guixsd?
[00:57:27]<reepca>how much what? Time? Effort? Space?
[01:01:36]<earthfail22>time it is now building and taking the whole night
[01:03:36]<reepca>When I installed I don't think it took over an hour
[01:04:26]<earthfail22>I must have done something wrong then. will see
[01:04:49]<reepca>the time varies depending on stuff like substitute availability and what's already in your store
[01:05:54]<earthfail22>reepca: fresh install it is building and compiling packages
[01:15:55]* jahb has left #guix ()
[01:33:27]* tct_ has quit (Ping timeout: 240 seconds)
[02:19:00]* arescorpio has joined #guix
[02:25:04]* ArneBab_ has joined #guix
[02:29:07]* ArneBab has quit (Ping timeout: 260 seconds)
[03:08:08]* pagurus has joined #guix
[03:09:57]* pagurus` has quit (Ping timeout: 240 seconds)
[03:23:16]* lfam has joined #guix
[03:27:41]* earthfail22 has quit (Quit: Page closed)
[03:30:14]* jonsger has quit (Ping timeout: 268 seconds)
[04:02:23]* arescorpio has quit (Quit: Leaving.)
[04:02:37]* iyzsong has joined #guix
[04:22:59]* lfam has quit (Quit: Leaving)
[04:28:39]* mekeor has joined #guix
[04:29:42]<mekeor>hellui gox!
[04:33:13]<reepca>o/
[04:36:46]* fomg-optimize has quit (Quit: Leaving)
[04:41:30]<janneke>o/
[04:42:22]<rain1>hello
[04:42:56]<janneke>hi rain1
[04:43:28]<rain1>good news, i fixed an efficiecy bug and now my compiler bootstraps in 1 second
[04:43:46]<janneke>whoa, nice work!
[04:44:01]<janneke>it was ~50 seconds or so, right?
[04:44:05]<rain1>yeah
[04:44:10]<janneke>good
[04:44:24]<rain1>i was accidentally searching the global variables each time they were referenced, instead of having them already resolved
[04:44:42]<janneke>honest bug :-)
[04:49:02]<janneke>rain1: really want to see how we can make good use of that
[04:49:42]<janneke>also i didn't try out/follow up on your 8cc patch yet
[04:50:03]* marusich has joined #guix
[04:50:19]<rain1>ah the thing was after removing the anon. union there is a few uses of va_list
[04:50:29]<reepca>There's a lot of code in guix/store.scm that does basically what I want, but relies on RPCs for low-level functionality - mostly accessing the database. It feels weird duplicating code just to replace the implementation of some low-level thing. I wonder if there's a better way.
[04:50:56]<janneke>oh yeah, that's right -- that needs more inspection and thought
[05:01:43]* dimaursu16 has joined #guix
[05:01:43]* dimaursu16 has quit (Changing host)
[05:01:43]* dimaursu16 has joined #guix
[05:05:18]<mekeor>any idea why "guix environment guix" results in "error: profile contains conflicting entries for gzip:out" for me?
[05:05:43]<mekeor>i wonder if it was a mistake that i once did "./pre-inst-env guix package -i …"
[05:11:24]* atw has quit (Ping timeout: 260 seconds)
[05:21:02]* marusich has quit (Quit: Leaving)
[05:21:12]* daviid has quit (Ping timeout: 260 seconds)
[05:33:27]* csprng has quit (Ping timeout: 240 seconds)
[05:46:55]* Introoter has joined #guix
[05:47:20]<Introoter>What version of gnome does guix runm
[05:47:23]<Introoter>run?*
[05:50:09]* epronk has joined #guix
[05:50:18]<Introoter>nvm
[05:54:35]<janneke>mekeor: why would that be a mistake? you can always [./pre-inst-env] guix package -r ...
[06:02:45]<epronk>Good afternoon, guix!
[06:04:41]<mekeor>hello epronk :)
[06:04:50]<mekeor>nice to meet you
[06:06:37]<epronk>mekeor: nice to meet you too. :)
[06:26:03]* dimaursu16 has quit (Remote host closed the connection)
[06:27:38]* dimaursu16 has joined #guix
[06:27:39]* dimaursu16 has quit (Changing host)
[06:27:39]* dimaursu16 has joined #guix
[06:29:10]* earthfail22 has joined #guix
[06:30:59]<earthfail22>Hello guys, I was wondering is it possible to miss up the config while installing guixsd that it will not stop and repeat itself?
[06:34:36]<mekeor>earthfail22: i don't understand your question
[06:34:45]* LuNaTicPanDora has joined #guix
[06:37:59]* earthfail22 has quit (Ping timeout: 260 seconds)
[06:39:46]<janneke>morning epronk!
[06:46:08]* mekeor has quit (Ping timeout: 260 seconds)
[06:57:26]* mekeor has joined #guix
[06:59:45]* catonano has joined #guix
[07:03:35]* earthfail22 has joined #guix
[07:09:09]<mekeor>yes, i could run "./pre-inst-env guix package -r ..." but i already did "git pull", so the pre-installation-environment changed.
[07:12:10]* hoijui has joined #guix
[07:15:28]<mekeor>i had ghc-xmonad-contrib package installed both as system-package as well as user. i now removed all system-generations; also removed xmonad as user; removed all old user-generations; and finally ran "guix gc" both as root and as user. but there are still files and folders for ghc-xmonad-contrib in /gnu/store. why?
[07:15:53]<mekeor>s/xmonad as user/ghc-xmonad-contrib as user/
[07:24:34]<janneke>mekeor: try guix gc --list-live
[07:25:21]<janneke>possibly with a nic grep; are the ghc-xmonad-contrib still live?
[07:35:47]* mampir has quit (Quit: mampir)
[08:03:47]* mildred1 has joined #guix
[08:06:48]* catonano has quit (Ping timeout: 276 seconds)
[08:07:24]<epronk>the installation manual says "herd start shh-daemon" => "could not be found". I installed openssh. How do I get the service installed?
[08:07:56]<epronk>I'm using the vm-image. The installation image might have that pre-configured.
[08:08:23]* mildred1 has quit (Ping timeout: 258 seconds)
[08:11:31]<janneke>epronk: what does `herd status' say?
[08:12:27]<janneke>ACTION hasn't switch to openssh, [still] using lsh
[08:12:47]* mildred has quit (Read error: Connection reset by peer)
[08:12:57]* psachin has joined #guix
[08:13:20]* mildred has joined #guix
[08:16:48]* ransom has quit (Ping timeout: 260 seconds)
[08:18:02]* balduin has joined #guix
[08:23:51]* balduin has quit (Quit: Leaving.)
[08:26:33]<epronk>janneke: 'herd status' has a long list of file-system, tty, guix-daemon, but no lsh or ssh.
[08:27:23]<rekado_>epronk: you need to add the service to the list of services in your configuration file and reconfigure.
[08:29:31]<janneke>epronk: see, e.g. 6.2.1 Using the Configuration System
[08:35:53]* catonano has joined #guix
[09:01:47]* amz3`` has joined #guix
[09:04:44]* amz3` has quit (Ping timeout: 260 seconds)
[09:05:34]* earthfail22 has quit (Ping timeout: 260 seconds)
[09:10:23]* davidl has quit (Quit: WeeChat 1.8)
[09:10:45]* davidl has joined #guix
[09:16:00]* tct_ has joined #guix
[09:32:56]* iyzsong has quit (Ping timeout: 240 seconds)
[09:38:49]* zyclonicz has quit (Remote host closed the connection)
[09:40:44]<cbaines>I'm seeing some unicode placeholders (the box with numbers in it) when looking at the info docs for org-mode in Emacs, any ideas what I can do to fix this?
[09:41:03]<cbaines>I'm guessing I might need to install some fonts (this is on GuixSD), but I don't know which ones
[09:43:39]* psachin has quit (Ping timeout: 276 seconds)
[09:43:47]* mampir has joined #guix
[10:02:09]* magnicida has joined #guix
[10:13:08]<janneke>cbaines: where do you see it, which node?
[10:19:59]<cbaines>The "Activation" node, within the Introduction
[10:20:19]<cbaines>I've tested on my other GuixSD machine, and it works there... just not on the one I'm using currently
[10:34:35]* jahb has joined #guix
[10:45:11]* iyzsong has joined #guix
[10:49:33]* jonsger has joined #guix
[11:08:20]* Jackneilll has joined #guix
[11:20:41]<quigonjinn>is there any symbol for the "empty package"? I want to pass it to a record* to override the default field value.
[11:20:56]* hoijui has quit (Ping timeout: 240 seconds)
[11:26:09]<cbaines>quigonjinn, do you mean package as in Guix package?
[11:26:25]<quigonjinn>cbaines: yes
[11:26:57]<cbaines>Ok, I'm not sure there is really a thing as an empty package
[11:27:03]<cbaines>What is the wider context?
[11:28:43]<cbaines>and what does this record represent?
[11:28:44]<quigonjinn>the context is that i want to create an xfce-desktop-service, whose xfce-desktop-configuration does not include the xfce package, so that I get only the extended polkit-service for thunar.
[11:29:07]<quigonjinn>it's the xfce-desktop-configuration record*
[11:29:11]<cbaines>ah, interesting
[11:30:20]<efraim>While not directly answering your question you should be able to just add that service to the OS config
[11:30:25]<quigonjinn>it should probably work to just extend the polkit service, like xfce-desktop-service-type does, but if I could pass the "empty" package, it would be more concise scode-wise
[11:30:50]<quigonjinn>s/concise/compact/
[11:34:45]<cbaines>quigonjinn, if I'm reading the definition of the service extension in the xfce-desktop-service-type for polkit correctly, it depends on the xfce-package
[11:36:02]<cbaines>it uses package-direct-input-selector (which is defined in desktop.scm) to get the thunar package from the xfce-package, and then passes this through to the polkit service type
[11:37:23]* jonsger1 has joined #guix
[11:37:25]<cbaines>quigonjinn, you might want to use (simple-service ...) to just setup polkit
[11:37:57]* mampir has quit (Quit: mampir)
[11:38:16]<quigonjinn>cbaines: right, I didn't understand that it gets the thunar package from the xfce-package. i'll do that, thanks
[11:39:04]<cbaines>This might work...? (simple-service "polkit-thunar" polkit-service-type (list thunar))
[11:39:12]* jonsger has quit (Ping timeout: 260 seconds)
[11:39:12]* jonsger1 is now known as jonsger
[11:39:26]<cbaines>bit its a real guess
[11:41:52]<quigonjinn>cbaines: yes it works! thanks
[11:42:52]<cbaines>great, you're welcome :)
[11:42:56]<quigonjinn>it's a temporary solution for me until the bug with xfce gets fixed.
[11:43:31]<quigonjinn>or i might get rid of it altogether :)
[11:48:53]* jonsger1 has joined #guix
[11:50:13]* jonsger has quit (Ping timeout: 255 seconds)
[11:50:14]* jonsger1 is now known as jonsger
[11:56:15]<mekeor>janneke: "guix gc --list-live" indeed lists about 33 lines containing ghc-xmonad-contrib. but why?
[11:58:04]<janneke>mekeor: then ghc-xmonad-contrib (or a package thah depends on that) is present in a profile
[11:59:07]<mekeor>janneke: can i find out in which profile? because i tried to delete it from everywhere
[12:00:40]<mekeor>oh, wait
[12:02:36]<mekeor>i found the profiles them
[12:02:46]<janneke>good :-)
[12:03:23]<mekeor>thanks :)
[12:03:28]<janneke>yw
[12:18:05]* magnicida has quit (Remote host closed the connection)
[12:28:39]* ofosos_ has joined #guix
[12:28:53]<ofosos_>hi guix
[12:29:27]<ofosos_>I'm getting an error "profile contains conflicting entries" when trying to update, how can I remedy this?
[12:29:43]<cbaines>By update, do you mean running guix package -u ?
[12:29:57]<ofosos_>either guix package -i, or guix system reconfigure
[12:30:18]<ofosos_>guix package -u ran fine
[12:30:40]<cbaines>hmm, I did see some discussions about issues with XFCE on the mailing list, it wouldn't happen to be that would it?
[12:31:06]<ofosos_>yeah, that happens with xfce, but I also get this with zlib for whatever reason
[12:31:42]<cbaines>could you put the error up on http://paste.lisp.org ?
[12:35:33]* fredmanglis has joined #guix
[12:35:34]* ofosos_ has quit (Ping timeout: 260 seconds)
[12:35:36]* ofosos__ has joined #guix
[12:35:37]* fredmanglis has quit (Read error: Connection reset by peer)
[12:36:47]<ofosos__>the error is at http://paste.lisp.org/display/349468
[12:40:13]<cbaines>ofosos__, looks like you have the same issue that is being tracked here https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27467
[12:40:26]<ofosos__>I also get this one with zlib, no idea how to fix it: http://paste.lisp.org/display/349469
[12:41:27]<cbaines>for that one, what happens if you try running guix package -u zlib
[12:42:25]<ofosos__>cbaines, that seems to pull in way more packages than i would suppose zlib does
[12:42:52]<cbaines>hmm, it might be trying to build zlib...?
[12:45:06]<ofosos__>ok, that fixed it, but now installing webkitgtk i get the same error for libX11 O_o
[12:46:04]<cbaines>upgrading everything in your profile should stop this happening, but obviously you might not want to do that
[12:46:33]<mekeor>ofosos__: i also get some conflicting entries with gzip if that was what you meant with "zlib"
[12:46:49]<ofosos__>http://paste.lisp.org/display/349469#1 see here, now that should be in the system profile which i can't update :(
[12:47:18]<ofosos__>(since xfce is broken)
[12:47:19]<mekeor>ofosos__: ... IIRC, "guix pull" fixed it for me
[12:47:30]<OriansJ``>morning guix
[12:47:37]* jlicht has joined #guix
[12:47:50]<jlicht>hello guix
[12:48:19]<mekeor>hello OriansJ`` , hello jlicht :)
[12:50:12]<jlicht>o/
[12:50:31]<ofosos__>do i have to do anything special to go to 0.13? i think it's still using guile2.0, when iirc 0.13 should use guile 2.2
[12:52:19]<OriansJ``>ofosos__: guix package --upgrade[=REGEXP] usually is all it takes to upgrade to a newer version of the program
[12:52:38]<ofosos__>i mean guixsd in this case
[12:53:58]<ofosos__>nope, doing guix pull doesn't change anything
[12:54:09]<OriansJ``>ofosos__: guix system reconfigure should do it
[12:54:22]<ofosos__>doesn't work bc of broken xfce
[12:55:19]<OriansJ``>even with --keep-going
[12:57:22]<ofosos__>yep, that doesn't help either
[12:58:31]* atw has joined #guix
[12:58:38]* mekeor has quit (Ping timeout: 276 seconds)
[13:02:46]<ofosos__>can i somehow edit the package definition for the system profile in guixsd?
[13:05:47]<ofosos__>when i do a guix edit as root i get confronted with a readonly file system, which is not so nice
[13:20:14]* dfh_ has joined #guix
[13:20:46]* dfh_ has left #guix ()
[13:21:13]* dfh_ has joined #guix
[13:21:39]<jlicht>ofosos__: I run guix from a git repo as specified *somewhere* in the online manual
[13:22:23]<jlicht>You could also do this for your root user, which naturally would lead to guix-edit giving you editable files ;-)
[13:22:26]<ofosos__>jep, found it, changed some stuff (it's in the README of the git repo), but I'm not sure how to propagate my changes so that system reconfigure can see them
[13:23:23]<ofosos__>will system reconfigure simply pick stuff up, when i put it in the store via `guix build'?
[13:23:28]<jlicht>ofosos__: your root user has their own profile, guix-tree and everything
[13:24:16]<jlicht>the store is by defintion isolated from all other parts. If you mean changes to your local guix package definitions, you should make sure your root profile makes use of that guix source tree
[13:24:42]<ofosos__>how do i do that?
[13:25:32]<jlicht>for me, as root: cd .config/guix; ln -s <wherever your git checkout of guix is> ./latest
[13:26:31]<jlicht>there should already be a symlink called latest in that directory; if you are not really sure of what you are doing yet, I recommend simply renaming instead of overwriting the symlink, so you can easily revert to a known working guix for root in case something goes terribly wrong ;-)
[13:27:35]<jlicht>but maybe some of the more knowledgable folks around here can share their workflows: this is just what works for me :D
[13:29:22]<dfh_>So. I just managed to get GuixSD installed on my new old X200s. Now trying to install some fonts. Not going all too well. I'm wondering, how can I tell what fonts are installed?
[13:35:31]<janneke>hi OriansJ``!
[13:36:07]<janneke>good news: I'm done with the hex2 transition
[13:40:23]<ofosos__>hmm, interesting, how do i upgrade from guixsd 0.12.0 to 0.13.0?
[13:41:05]<ofosos__>jlicht, that doesn't work for me, it's complaining that the stuff in /gnu/store/...-guix-0.12.0 ist older than the source file
[13:51:19]<jlicht>ofosos__: you might want to build your source tree first. In your guix git checkout: guix environment --pure --container guix;
[13:51:49]<jlicht>and then, if this is the first time you build guix: ./bootstrap.sh; ./configure --localstatedir=/var; make;
[13:52:00]<jlicht>(and possibly make check, but be prepared to wait for quite some time
[13:55:04]<OriansJ``>janneke: that is excellent news!
[13:56:50]<janneke>OriansJ``: also, i created a fixed hex2 footer with ELF_str and ELF_sym that only include _start and main
[13:57:24]<janneke>this allows for fairly nice gdb'ing and to at least see the disasembly with objdump
[13:57:45]* bnw has joined #guix
[13:57:54]<OriansJ``>janneke: good work :D
[13:57:57]<janneke>which makes the tool that creates those dynamically cease to be a blocker
[13:58:53]<janneke>until we have that tool, the disassembly is much less nice: no function names, buh hey:-)
[13:59:44]<janneke>OriansJ``: the only thing that i really need for mes 0.8 is a MESCC_Tools release ;-)
[14:00:14]<janneke>so i can package and submit it to Guix -- mescc now depends on it
[14:00:36]<OriansJ``>janneke: absolutely
[14:01:27]<janneke>you saw my patches? guix.scm is almost done, you may want to have a look.
[14:02:12]* jlicht has quit (Remote host closed the connection)
[14:03:42]<OriansJ``>janneke: just did, merging now