You are here

IRC logs for #guix, 2017-04-28 (GMT)

2017-04-27
2017-04-29
TimeNickMessage
[00:00:03]<u0_a253>gzip says invalid compressed data. Is there something going on on the server?
[00:00:39]<u0_a253>I'll just use --fallback for now I guess.
[00:17:28]* daviid has quit (Ping timeout: 246 seconds)
[00:29:30]<u0_a253>Python2 wouldn't install for me. Here's a log with --verbosity=9. http://sprunge.us/PQAF
[00:30:37]* yrk has quit (Ping timeout: 240 seconds)
[00:56:20]* methalo_ has quit (Quit: methalo_)
[00:57:34]* dadinn_ has quit (Quit: leaving)
[01:11:23]* balduin has joined #guix
[01:12:02]* balduin has quit (Client Quit)
[01:30:46]* daviid has joined #guix
[02:02:23]<bavier1>u0_a253: --fallback is the right thing to do
[02:07:55]<u0_a253>bavier1: Okay, but… what's going on with the binary packages that are failing?
[02:10:02]<u0_a253>(And how can I help fix it?)
[02:13:46]* Introoter has joined #guix
[02:14:25]* hhao has quit (Quit: ZNC 1.6.4 - http://znc.in)
[02:14:42]* oahong has joined #guix
[02:14:42]* oahong has quit (Changing host)
[02:14:42]* oahong has joined #guix
[02:19:15]* enderby has left #guix ("ERC (IRC client for Emacs 25.2.1)")
[02:56:43]* ArneBab has joined #guix
[03:00:56]* ArneBab_ has quit (Ping timeout: 260 seconds)
[03:05:50]* psachin has joined #guix
[03:08:52]* daviid has quit (Ping timeout: 260 seconds)
[03:18:25]* Apteryx has joined #guix
[03:22:22]* balduin has joined #guix
[03:22:28]* balduin has quit (Client Quit)
[04:21:44]* bnw has joined #guix
[04:47:37]* mbuf has joined #guix
[05:01:59]* atw has quit (Ping timeout: 260 seconds)
[05:05:40]* brendyn has joined #guix
[05:17:10]* Nyxus has joined #guix
[05:32:05]* Nyxus has quit (Ping timeout: 258 seconds)
[05:38:37]<Apteryx>Does anyone know what is happening to bayfront? It's been down for a couple days.
[05:42:48]* igajsin has joined #guix
[05:49:36]<buenouanq>who was the one having postgres locale issues in here a couple weeks ago?
[05:49:44]<buenouanq>I might be having similar problems.
[05:51:26]* phant0mas has joined #guix
[06:10:24]* mouldysammich has quit (Ping timeout: 260 seconds)
[06:23:00]* quiliro has joined #guix
[06:23:44]<quiliro>i have two problems because my network is not good grade:
[06:23:47]* mouldysammich has joined #guix
[06:24:11]<quiliro>1. i cannot send some emails from claws-mail
[06:24:33]<quiliro>2. i cannot guix pull or guix package --install
[06:25:06]<quiliro>i get a network error on both even if i can very slowly use other network services
[06:25:35]<quiliro>very light email will get sent, as well as any mail is received
[06:26:01]<quiliro>but these problems are never seen when linked to a good network connection
[06:26:39]* dimon_ has quit (Ping timeout: 252 seconds)
[06:27:26]<CharlieBrown>Would this still be necessary in GuixSD? https://github.com/triton/triton/blob/master/nixos/modules/installer/too...
[06:34:58]* jas` is now known as serieux
[06:39:08]* serieux has quit (Quit: ZNC - http://znc.in)
[06:40:03]* jonsger has joined #guix
[06:42:18]* serieux has joined #guix
[06:42:50]* csanchezdll has joined #guix
[06:49:40]* dimon_ has joined #guix
[07:04:43]* mildred3 has joined #guix
[07:07:20]* rekado has joined #guix
[07:11:08]<wingo>good morning rekado
[07:20:15]* dimon_ has quit (Ping timeout: 255 seconds)
[07:24:56]<quiliro>hello
[07:25:11]<quiliro>i have two problems because my network is not good grade:
[07:25:18]<quiliro>1. i cannot send some emails from claws-mail
[07:25:24]<quiliro>2. i cannot guix pull or guix package --install
[07:25:44]<quiliro>i get a network error on both even if i can very slowly use other network services nctñ xph,ocbi
[07:25:58]<quiliro>very light email will get sent, as well as all mail is received
[07:37:09]* jonsger has quit (Ping timeout: 260 seconds)
[07:52:22]* joshuagl has joined #guix
[08:00:20]* kelsoo1 has joined #guix
[08:02:48]* kelsoo has quit (Ping timeout: 240 seconds)
[08:09:58]<brendyn>Can I have a package with a source that downloads multiple files from different locations?
[08:10:53]* catonano_ has joined #guix
[08:11:31]* mekeor has joined #guix
[08:29:25]* mange has joined #guix
[08:55:10]<slyfox_>brendyn: ghc is one of examples to do somthing similar. not sure if there is less ugly way to do it
[08:55:19]* jonsger has joined #guix
[08:59:11]* m-o has joined #guix
[09:02:33]<quiliro>brendyn: i think you can specify different locations for packages as you can specify different mirrors for guix pull
[09:03:35]<quiliro>brendyn: check https://www.gnu.org/software/guix/manual/guix.html#Invoking-guix_002ddaemon
[09:05:07]<wingo>https://guix-potluck.org/
[09:05:19]<wingo>has queue status & stuffs
[09:05:41]* CharlieBrown has quit (Ping timeout: 245 seconds)
[09:13:33]<Petter>wingo, it says: git clone https://guix-potluck-org/git/target.git I assume this should be guix-potluck.org ;)
[09:13:45]<wingo>ah indeed!
[09:14:09]<quiliro>wingo: i cannot find Invoking guix potluck in the guix manual
[09:14:41]<wingo>quiliro: still in an unmerged branch
[09:15:28]<Sleep_Walker>so the hierarchy of the potluck packages is different?
[09:16:17]<wingo>well they aren't really centrally categorized
[09:16:36]<wingo>no hierarchy really, except the hierarchy defined by the space of git repository urls
[09:18:34]<quiliro>$ guix graph coreutils | dot -Tpdf > dag.pdf
[09:18:34]<quiliro>bash: dot: command not found
[09:19:24]<quiliro>wingo: what does potluck do?
[09:19:47]* csprng has quit (Ping timeout: 268 seconds)
[09:19:54]<quiliro>how can i find which package has the "dot" command?
[09:19:54]<wingo>see https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00250.html
[09:20:04]<wingo>it is the graphviz package
[09:24:18]<quiliro>wingo: how do you know? is there a command i can run? guix package -s dot....shows several packages
[09:24:35]<wingo>dunno, i just know
[09:43:18]* richi235 has joined #guix
[09:45:47]* btmsn has joined #guix
[09:46:27]* quiliro has quit (Ping timeout: 240 seconds)
[10:10:25]<janneke>the 2.2/2.0 switch is still puzzling me
[10:11:03]<janneke>i try to build latest master on a ~1y old machine
[10:11:25]<wingo>of guix you mean?
[10:11:26]<janneke>and my guix environment guix --ad-hoc <some goodies> is now compiling guile-2.0
[10:11:34]<wingo>yes
[10:11:35]<janneke>yep, of guix
[10:11:50]<wingo>currently guix still depends on 2.0 in master; apparently core-updates has 2.0
[10:11:54]<wingo>er core-updates has 2.2
[10:11:58]<janneke>it would be nice, at least if it would fetch substitutes...
[10:12:04]<wingo>still the default guile in guix now is 2.2
[10:12:23]<janneke>ah yes
[10:12:32]<wingo>but guixsd still installs guile-2.0 by default in the system (!)
[10:12:49]<janneke>i have been using guile-2.2 for everything except guix for ~2.5 years...
[10:12:51]<wingo>so you can end up with 2.0 load paths in your GUILE_LOAD_PATH which is badness
[10:13:33]<janneke>yep...like to get rid of 2.0 ... otoh, we could try to improve the user experience of others using hybrid setups ;-)
[10:14:41]<janneke>probably because i've been needing to use --fallbacks all day anyway...hmm
[10:16:05]<rekado>Hi Guix!
[10:16:29]<rekado>our internet connection at home was broken for almost two days.
[10:16:40]<wingo>heya rekado :)
[10:17:49]<rekado>hi wingo
[10:18:28]<rekado>wingo: good progress on the guix-potluck!
[10:18:53]<rekado>I have to take some time soon to read all the emails relating to this.
[10:26:23]<brendyn>I've still not figured out how to get Emacs/Guix/Geiser to work yet :/
[10:26:36]<rekado>brendyn: what’s the problem?
[10:26:50]<rekado>ACTION goes afk for a few mins
[10:35:06]* phant0mas has quit (Remote host closed the connection)
[10:36:12]<brendyn>rekado: Dunno, I have all the M-x Guix… commands so guix.el must be loaded? I open a Scheme file in my git repo of Guix, press ! to run all the Emacs config stuff. I type M-x run-geiser. guix-devel-mode is supposed to be on since I'm in a Scheme file, but it isn't for some reason. I load it with M-x guix-devel-mode.
[10:36:33]<brendyn>Testing C-c . l at a package definiton. I get ERROR: no code for module (guix monad-repl)
[10:36:46]* phant0mas has joined #guix
[10:37:13]<brendyn>But also, that seems to be from a different REPL, then one I got with run-geiser isn't doing anything
[10:40:02]* tg has quit (Quit: Leaving)
[10:40:52]<brendyn>Then I end up with 3 REPLs, two guile 2.2 and one internal guile 2.0.14
[10:43:18]* tg has joined #guix
[10:51:20]* prasunanand has joined #guix
[11:02:04]* mbuf has quit (Ping timeout: 260 seconds)
[11:02:30]* mbuf has joined #guix
[11:09:48]* mildred3 has quit (Ping timeout: 240 seconds)
[11:09:54]* mildred has quit (Ping timeout: 252 seconds)
[11:13:53]* mbuf has quit (Quit: Leaving)
[11:18:38]* csanchezdll has left #guix ("Killed buffer")
[11:19:59]<Petter>I ran indent-code.el on my package recipe, now guix lint turned red with way too long lines. Did indent-code.el go a little overboard or should I just add a lot of newlines everywhere? http://sprunge.us/dLOW
[11:20:06]* mildred has joined #guix
[11:20:52]* mildred3 has joined #guix
[11:27:53]<rekado>Petter: this looks wrong
[11:28:22]<rekado>Petter: the indentation of the clauses under “modify-phases” is far too big.
[11:28:46]<rekado>Petter: same for the indentation of the lambdas under “add-after”, “replace”, “add-before”.
[11:29:16]<Petter>Good, I feel the same way.
[11:31:38]* prasunanand has quit (Ping timeout: 260 seconds)
[11:34:26]<rekado>brendyn: sounds like your problem is with mixing Guile 2.2 with Guile 2.0.x
[11:35:34]<brendyn>Hmm, Maybe I can run Emacs under guix environment --ad-hoc emacs guix --pure
[11:36:00]* methalo_ has joined #guix
[11:37:07]* psachin has quit (Ping timeout: 240 seconds)
[11:38:19]<nee``>Petter: there is a package called emacs-guix. It provides guix-devel-mode which indents package definitions correctly. https://www.gnu.org/software/guix/manual/html_node/Emacs-Interface.html
[11:41:50]<Petter>Emacs have been in charge of indentation while writing. So I was a bit surprised with indent-code.el changing it quite dramatically.
[11:43:02]* catonano has joined #guix
[11:43:05]<rekado>the early versions of indent-code.el actually did use emacs-guix
[11:43:13]<rekado>not sure why it’s so wrong in your case.
[11:44:23]<Petter>Maybe someone would like to take a look at it, paving the way for contributors using non-Emacs editors :O
[11:45:28]* alezost has joined #guix
[11:45:51]<Petter>I could write to guix-devel if that's interesting.
[11:46:10]<rekado>or you could ask alezost about it :)
[11:47:46]* iyzsong has joined #guix
[11:47:51]<Petter>alezost: I ran indent-code.el on my recipe. We think it went a little overboard with the indenting. http://sprunge.us/dLOW
[11:50:35]<alezost>Petter: I've never used "indent-code.el" but it's definitely a bug :-)
[11:50:36]<sneek>Welcome back alezost, you have 1 message.
[11:50:36]<sneek>alezost, civodul says: thanks for the online manual! could you update doc/htmlxref.cnf in Guix to point to it?
[11:51:04]<Petter>Oh, I assumed you made it :)
[11:51:06]<wingo>rekado: what do you think is the way forward for the potluck patches? something worth iterating on in master or do you think it's best to stay in review for a while?
[11:51:35]* psachin has joined #guix
[11:51:38]<wingo>right now i have everything working properly i think
[11:54:15]<wingo>i will send an update mail
[11:57:40]<alezost>Petter: no, I recall that rekado and I wrote something to the mailing list about code indentation, but it is Ludovic who made "indent-code.el"
[11:58:15]<Petter>Ok.
[11:58:25]<CcxWrk>When can I expect https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26671 hit the mirrors so guix pull is fixed? Is there a workaround in the meantime?
[11:59:56]* psachin has quit (Ping timeout: 252 seconds)
[12:10:40]<wingo>i don't have preferred applications in my gnome. what could be wrong?
[12:10:49]<wingo>like i click on a thing and it opens... the text editor :P
[12:11:08]<wingo>when i click on a url in a chat client for example
[12:24:10]* Digit has quit (Ping timeout: 240 seconds)
[12:28:50]* btmsn has left #guix ()
[12:29:11]<wingo>potluck status: https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00649.html
[12:32:01]* Digit has joined #guix
[12:33:09]* snape has joined #guix
[12:36:21]<alezost>Petter: I think I know what happened: you need to be in the top dir of the guix tree and run it like this: "./etc/indent-code.el <your-file.scm>" (as it is mentioned in the manual), otherwise it won't work. I think I know how to fix this limitation.
[12:37:04]<brendyn>I see, so after I setup a pure environment, running emacs goes to town on my enviroment reseting PATH and stuff like that
[12:41:33]<janneke>wingo: on potluck...would my phantomjs patch set be a good candidate for potluck?
[12:41:54]<wingo>janneke: i don't know. what's your phantomjs patch?
[12:42:01]<janneke>the paches need some work that i'm not going to do right now
[12:42:05]<janneke>wingo: https://lists.gnu.org/archive/html/guix-devel/2016-11/msg00853.html
[12:42:31]<janneke>it's a resurrection of qt5.5 + patches + the phantomjs-package
[12:42:37]<brendyn>I believe phantomjs is on it's deathbed
[12:43:02]<wingo>janneke: i think not because potluck packages can only take snippets, not patches
[12:43:04]<janneke>brendyn: all the more reason for me not to spend much more time on it ;-)
[12:43:06]<brendyn>Sounds like libre-ifying Chromium is becoming more and more important.
[12:44:21]<janneke>brendyn: Chromium is not evil, then?
[12:44:57]<janneke>wingo: oh...okay. potluck feels very exciting, but i'm still figuring out what i could/should put there :-)
[12:45:40]<wingo>janneke: :)
[12:46:01]<janneke>wingo: if it had only tarballs, would that work?
[12:46:14]<wingo>janneke: yes that would work
[12:46:31]<janneke>OK, thanks
[12:46:47]<brendyn>rekado: I've setup a pure environment, ran emacs with emacs -q, now I get ERROR: no code for module (guix utils)
[12:50:57]<alezost>brendyn: where do you get it? In geiser or in guile repl running in shell?
[12:54:44]* catonano_ has quit (Quit: catonano_)
[12:55:36]<brendyn>alezost: In the REPL in the shell
[12:58:05]<Petter>alezost: Yes, that seems to be it! I was running it from gnu/packages like this: $ ~/guix/etc/indent-code.el terminals.scm cool-retro-term
[12:58:47]<Petter>Running it from top dir gives normal indentation.
[12:59:22]<Petter>Nice catch! :)
[13:00:20]<alezost>Petter: thanks for confirmation, I'll send a patch to fix it soon. BTW, the indentation is not perfect still as 'modify-phases' keywords ('replace', 'add-after') are not indented properly
[13:01:03]<alezost>brendyn: I think the problem is you don't have to set GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH to include guix source tree
[13:01:20]<alezost>*you don't set
[13:02:17]<alezost>brendyn: if you run %load-path in the guile REPL, you'll see that it does not contain "/whatever/guix" directory, so guix modules are not found
[13:02:54]<Petter>Ah ok, I thought these as well was indented a bit much. But I don't know what to expect really.
[13:03:41]<efraim>bugs go to bugs-guix@gnu.org ?
[13:04:12]<alezost>brendyn: so you can either set those environment variables or: (it's only for geiser) set 'geiser-guile-load-path' as it is mentioned at (info "(guix) The Perfect Setup")
[13:04:40]<alezost>efraim: bug-guix@gnu.org
[13:04:49]<alezost>efraim: "guix -h" can tell you it :-)
[13:05:57]* snape has quit (Remote host closed the connection)
[13:07:02]<efraim>alezost: thanks
[13:08:12]<brendyn>alezost: so I should't set both them?
[13:09:07]<alezost>brendyn: you can set both (if you mean both environment variables and geiser-guile-load-path), it will do no harm
[13:09:44]<alezost>brendyn: I set only environment variables and don't touch the geiser one. It is not needed
[13:10:21]* catonano` has joined #guix
[13:10:26]* catonano` has left #guix ()
[13:17:42]<brendyn>Seems to have taken effect. Emacs is now hanging wile guile burns up my CPU
[13:17:55]<wingo>burn baby burn
[13:19:24]<alezost>brendyn: did you set GUILE_LOAD_COMPILED_PATH?
[13:19:31]<brendyn>yep
[13:19:47]<brendyn>I think I should run `make' again first
[13:19:53]<alezost>definitely!!
[13:19:58]<brendyn>xD
[13:20:22]<brendyn>Since I git pulled and merged
[13:21:33]<brendyn>Oh
[13:21:37]<brendyn>ACTION typoed
[13:21:49]<brendyn>ACTION didn't actually set GUILE_LOAD_COMPILED_PATH
[13:22:30]<brendyn>Only issue is now the commit I made is buried under 50 or 100 new commits
[13:27:50]<brendyn>Progress was made. I was able to geiser-eval-buffer, but `C-. l' still burns my CPU
[13:28:40]* nee`` has quit (Remote host closed the connection)
[13:29:05]* nee`` has joined #guix
[13:30:31]<alezost>brendyn: when you do "M-x run-guile", what guile version it shows?
[13:30:50]<brendyn>alezost: 2.2.2
[13:31:16]<alezost>brendyn: so that's the problem - guix is still compiled with Guile 2.0
[13:31:43]<alezost>and when you try to use guix modules with guile 2.2, the new guile compiles them
[13:33:38]<alezost>I mean, when you do "make", guix is build with guile 2.0, so you can use guix modules without problems, as they are compiled. But when you use guix modules with guile 2.0, the modules are compiled again for another guile version
[13:33:48]<brendyn>This may explain a significan number of my problems.
[13:34:19]<brendyn>You mean "guile 2.2" ?
[13:35:11]<alezost>right, currently it's a bit of a mess - the default guile version in guix is 2.2, but guix itself is compiled with 2.0. Mixing 2 versions may lead to problems
[13:36:24]<wingo>i have run into that many times too :/
[13:36:52]<wingo>i wonder if we can land the guix-on-guile-2.2 before releasing
[13:39:50]* Deliverance has quit (Quit: Leaving)
[13:43:30]* u0_a253 has quit (Ping timeout: 246 seconds)
[13:45:27]* avoine has joined #guix
[13:46:37]* u0_a253 has joined #guix
[13:50:40]* u0_a253 has quit (Ping timeout: 245 seconds)
[13:51:01]* u0_a253 has joined #guix
[13:53:44]<brendyn>You could say we've crafted a new kind of dependency hell.
[13:56:04]<alezost>Petter: this message: <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26693#14> contains the patch that should fix the problem you found, thanks for reporting!
[13:58:08]<Petter>Nice! :)
[13:58:25]<Petter>I'll try it.
[14:07:28]<wingo>the bit where guile 2.2 ends up looking for .scm files in guile 2.0 directories is the bad part.
[14:10:00]* bnw has quit (Ping timeout: 240 seconds)
[14:10:27]* mange has quit (Ping timeout: 240 seconds)
[14:11:20]<Petter>alezost: It didn't work for me. But changing the patch to work on indent-code.el instead of indent-code.el.in fixed it.
[14:12:18]<alezost>Petter: sure; ".el" is generated from ".el.in" (by "./configure" phase)
[14:12:37]<alezost>so the original source is ".el.in" and ".el" is the derivative
[14:12:44]<Petter>Oh, I see.
[14:12:59]<alezost>thanks for testing it!
[14:13:04]<Petter>Sure! :)
[14:13:31]* alezost has quit (Quit: I live in GuixSD <http://www.gnu.org/s/guix> and Emacs <http://www.gnu.org/s/emacs>)
[14:15:50]* yrk has joined #guix
[14:16:00]* yrk has quit (Changing host)
[14:16:01]* yrk has joined #guix
[14:23:17]* bnw has joined #guix
[14:24:13]<CcxWrk>Reading Guix and Nix docs, I'm seeing that Nix packages are described as functions taking configuration options, whereas Guix talks of G-Expressions. Should I conclude that in Guix it's impossible to pass in such configuration options besides of creating new package/expression?
[14:26:54]<davexunit>CcxWrk: a package in guix is a first class Scheme object and you can manipulate them to make variants of them as you wish
[14:27:40]<CcxWrk>Can you give an example? Say, I want to switch TLS implementation from openssl to gnutls or vice versa.
[14:28:10]<davexunit>I don't have an example in front of me, but the guix source is full of such things.
[14:28:27]<davexunit>you can make a new package that "inherits" from another and then change some fields
[14:28:44]<brendyn>CcxWrk: guix build foo --with-input=openssl=gnutls
[14:29:02]<davexunit>that's the CLI and not what is being asked about
[14:29:09]<davexunit>(package (inherit foo) (inputs (replace-openssl-with-gnutls (package-inputs foo))))
[14:29:25]<davexunit>where replace-openssl-with-gnutls is something you'd write
[14:29:35]<davexunit>hopefully that gives the idea
[14:30:12]<CcxWrk>I see. Now more trickier thing, how I'd change default CFLAGS on global basis?
[14:30:22]<davexunit>you don't.
[14:30:33]<davexunit>there are no globals.
[14:30:47]<davexunit>CFLAGS is not even relevant to all things
[14:32:16]<CcxWrk>Sure. Global would probably mean environment-global in context of Guix or Nix.
[14:32:40]<davexunit>what is "environment-global"?
[14:33:18]<CcxWrk>I think those are called profiles in Guix, sorry.
[14:33:19]<davexunit>if a package defined CFLAGS as a make flag or something, you could change those CFLAGS by editing the arguments field of the package.
[14:34:16]<davexunit>which you can do progamatically.
[14:35:23]* yrk has quit (Remote host closed the connection)
[14:36:05]<CcxWrk>But I assume current packages don't really expose that. How are optional dependencies handled?
[14:39:09]<davexunit>I'm guessing that you are a gentoo user or something?
[14:39:19]<davexunit>and are having difficulties adjusting to a non-gentoo world
[14:39:42]* kittyceramic has joined #guix
[14:39:42]<davexunit>it's hard to answer some of these questions because they are a bit fuzzy
[14:39:52]* yrk has joined #guix
[14:40:04]* yrk has quit (Changing host)
[14:40:04]* yrk has joined #guix
[14:40:08]<CcxWrk>I've dabbled with many. Gentoo, Alpine and Void are the ones I most commonly manage nowadays.
[14:40:27]* kittyceramic has quit (Read error: Connection reset by peer)
[14:40:32]<davexunit>there's no such thing as an optional dependency in guix
[14:40:44]<davexunit>a package describes the build precisely.
[14:41:23]<davexunit>if it's possible to build a piece of software with or without a library "foo", there could be two different packages: one with a "foo" input, and one without.
[14:42:04]<CcxWrk>So you need to make a package for each combination of possible configuration variables. (Or the ones you want to use at least)
[14:42:43]<davexunit>correct
[14:43:07]<davexunit>a package describes a *precise* dependency tree and build process
[14:43:26]<davexunit>otherwise reproducibility would be unachievable
[14:43:43]* Jackneillll has quit (Read error: Connection reset by peer)
[14:43:45]<CcxWrk>I was talking of optional dependencies and packages in the upstream sense. Not necessarily in the Guix sense.
[14:43:54]<CcxWrk>Hence the confusion I guess.
[14:44:05]<davexunit>I guess my answer applies either way.
[14:44:21]<davexunit>you either specify that dependency as an input to the package or not
[14:44:22]<CcxWrk>Indeed, thanks for the answer.
[14:45:11]<davexunit>like we have a full-featured emacs package, an emacs with no X support, and a minimal emacs for things that use emacs as a batch processing tool
[14:45:22]<brendyn>Emacs has a few different builds. emacs, emacs-minimal, emacs-no-x, emacs-no-x-toolkit
[14:45:28]<davexunit>heh :)
[14:46:22]<brendyn>I type something, but davexunit says it first, so I backspace and type another thing, but then davexunit has said that too. repeat ad infinitum.
[14:46:29]<davexunit>:)
[14:47:28]<brendyn>This is something I find challenging too, because I want to package goldendict along with an arbitrary number of dictionaries.
[14:48:20]<davexunit>is it not possible to use a search path?
[14:48:29]<brendyn>It would suck have goldendict depend on some 30MiB Chinese dictonary that will get loaded in, when the user just wants a Japanese one
[14:48:49]<CcxWrk>Is there any way to to apply any rules or pattern matching to the dependencies without explicitly listing each and every one of them?
[14:48:58]<davexunit>CcxWrk: no.
[14:49:19]<davexunit>that would prevent reproducibility.
[14:49:20]<CcxWrk>I find that rather weird.
[14:49:35]<davexunit>remember: packages are just plain Scheme objects
[14:49:49]<davexunit>almost all of them are assigned to variables within various modules
[14:50:05]<davexunit>so you import the modules you want, and reference the variables that contain the package objects
[14:52:00]<brendyn>Yeah, Goldendict has the feature to search a directory, but I'll need to have that set so it's goes to the place where the dictionaries are installed
[14:52:10]* mildred has quit (Ping timeout: 240 seconds)
[14:52:11]<CcxWrk>In my eyes that's just changing how package-1.0 gets resolved into different longhash-package-1.0 due to different options, it can do the very same as the commandline option. Just by means of matching some pattern of the package definitions.
[14:52:37]<CcxWrk>Or even how version is picked.
[14:52:50]<davexunit>a name and a version number isn't enough to uniquely identify a package
[14:53:28]<davexunit>2 variants of package 1.0 built with a make flag turned on/off are unique
[14:53:37]<CcxWrk>Not "guix package", no. But I see such short names in there.
[14:53:53]<CcxWrk>Do you mean those are variables that are exposed by the imported modules?
[14:54:02]<davexunit>yes
[14:54:07]<CcxWrk>I see now.
[14:54:23]<davexunit>those names point to values that are package objects
[14:54:46]<davexunit>so we can change that variable later and the packages that reference it will be rebuilt
[14:55:44]* mekeor has quit (Remote host closed the connection)
[14:56:31]<paroneayea>wingo: out of curiosity, do you have a paste of what one of the potluck style package descriptions looks like handy?
[14:56:49]<paroneayea>wingo: also I'm still working on getting the server up testing your stuff. I'm simultaneously setting up the server for my own needs, so
[14:56:51]<paroneayea>delays
[15:07:38]* catonano has quit (Quit: Bye)
[15:10:08]* mildred has joined #guix
[15:13:43]* MicroCheapFx_ has joined #guix
[15:14:40]* iyzsong has quit (Ping timeout: 240 seconds)
[15:14:44]* Sleep_Walker has quit (Ping timeout: 258 seconds)
[15:15:31]* MicroCheapFx has quit (Ping timeout: 240 seconds)
[15:19:53]* bnw has quit (Ping timeout: 260 seconds)
[15:25:44]<amz3>is guix master using guile 2.2 or not?
[15:28:04]<paroneayea>amz3: iirc it can be compiled with guile 2.2, but isn't necessarily
[15:35:31]* mildred has quit (Ping timeout: 260 seconds)
[15:40:55]<amz3>ah ok!
[15:40:57]<amz3>tx!
[15:45:14]<janneke>anyone using #:auto-login with slim-service?
[15:45:22]<janneke>ACTION could do with an example
[15:46:11]<rekado>janneke: I do on a different machine; don’t have the config handy, though.
[15:46:17]<rekado>janneke: but maybe I can help anyway
[15:47:05]<paroneayea>substitute: guix/ui.scm:1228:8: In procedure run-guix-command:
[15:47:05]<paroneayea>substitute: guix/ui.scm:1228:8: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'.
[15:47:05]<paroneayea>guix system: error: build failed: substituter `substitute' died unexpectedly
[15:47:10]<paroneayea>anyone else getting this sudenly?
[15:47:18]<paroneayea>I'm getting it on all my machines.
[15:48:16]<janneke>rekado: i have added: (slim-service #:auto-login? #t #:default-user "janneke")
[15:48:16]<janneke>
[15:48:32]<janneke>but now i need to filter services, apparently
[15:48:39]<janneke>rekado: (guix system: error: service 'xorg-server' provided more than once
[15:48:39]<janneke>
[15:48:53]<rekado>okay, just a sec
[15:49:05]<janneke>and need to figure-out the name and how to filter ... ;-)
[15:49:23]<janneke>so i was thinking, there is prolly a real easy way
[15:51:30]<rekado>janneke: untested: http://paste.lisp.org/display/345364
[15:52:14]<rekado>janneke: oh, you also need to add the (default-user "janneke") thing
[15:52:31]<janneke>rekado: modify-services! great, thanks!!
[15:53:26]<janneke>and inherit...cool
[15:53:54]<janneke>the power of guix keeps amazing me :-D
[16:00:29]<Petter>Me too! *takes notes*