Re: Let's merge staging!

2019-05-25 Thread Marius Bakke
Arun Isaac writes: >> Anything missing before the freeze? > > I closed issue 32102 and pushed a patch to core-updates-next back in > November 2018, but it seems to have been lost somehow. It's still not in > master. Can we include it now in staging? > > https://issues.guix.info/issue/32102 These

Re: libelf uri broken?

2019-05-25 Thread John Soo
Excellent, thanks T G-R! > On May 25, 2019, at 6:40 PM, Tobias Geerinckx-Rice wrote: > > John, > > John Soo wrote: >> I was wondering if the url we use for the origin of libelf is still valid. I >> tried curl and it redirected to an unresolved address. Looks like we have >> some substitutes

Re: libelf uri broken?

2019-05-25 Thread Tobias Geerinckx-Rice
John, John Soo wrote: I was wondering if the url we use for the origin of libelf is still valid. I tried curl and it redirected to an unresolved address. Looks like we have some substitutes on hydra, so it wasn’t such a problem. Just checking To complement the Hydra substitute, I've replac

libelf uri broken?

2019-05-25 Thread John Soo
Hi guix, I was wondering if the url we use for the origin of libelf is still valid. I tried curl and it redirected to an unresolved address. Looks like we have some substitutes on hydra, so it wasn’t such a problem. Just checking. - John

Re: X/GDM fails on linux 5.0.7 AMD Radeon RX 580 after system reconfigure

2019-05-25 Thread ison
Are you using GuixSD or Guix on top of another distro? It seemed to me that when my caches were empty the first application I'd run would cause the shaders to be rebuilt with whatever version of llvm that application was built with. And it also seems that the issue goes both ways, so if you run an

Re: gold linker and collect2: fatal error: cannot find 'ld'

2019-05-25 Thread Pjotr Prins
The tests are looking for gold. That *is* the problem. You can build ldc with ld, but the ldc compiler is looking for gold. When you make gold available at test time it will work. Pj. On Sat, May 25, 2019 at 06:35:37PM +0200, Pierre Neidhardt wrote: > Alright, this works now. > > I'm using Pjotr

Re: Rust dependency on git

2019-05-25 Thread Ivan Petkov
Hi Marius > On May 24, 2019, at 3:45 AM, Marius Bakke wrote: > > It seems odd to me that the release tarballs would run 'git ls-files' > anyway. Do they actually contain a git repository? Would it work to > simply replace the invokation with 'find’? Managed to get a chance to dig into this a

Re: Documentation videos are being uploaded!

2019-05-25 Thread Laura Lazzati
Hey Hey! Thanks for the compliments to everyone :) Working with Paul during the last months has been great and Gábor, Björn, Ricardo and Ludo had played a very important role while I was an intern too ;) . And also some Guix folks. Ok, let's keep the 3 min constraint for future videos and maybe

Re: Add helper for .desktop file creation?

2019-05-25 Thread Pierre Neidhardt
Just thought of maybe the best of both approaches: use a #:rest argument to iterate over all keys. This way we don't allow unspecified keys (no risk for typos) and the code of the function remains lean. -- Pierre Neidhardt https://ambrevar.xyz/ signature.asc Description: PGP signature

Re: Video narration

2019-05-25 Thread Laura Lazzati
Hi Paul! > The method I use to track packages is to search at > https://guix-hpc.bordeaux.inria.fr/browse Thanks! My bad, I knew about this site but I never tracked a package, it is very useful. When I finish with the videos I will see if I can shed some light at least. > Perhaps your test has r

Re: Let's merge staging!

2019-05-25 Thread Arun Isaac
> Anything missing before the freeze? I closed issue 32102 and pushed a patch to core-updates-next back in November 2018, but it seems to have been lost somehow. It's still not in master. Can we include it now in staging? https://issues.guix.info/issue/32102 signature.asc Description: PGP sign

Re: gold linker and collect2: fatal error: cannot find 'ld'

2019-05-25 Thread Pierre Neidhardt
Alright, this works now. I'm using Pjotr's patch https://gitlab.com/genenetwork/guix/commits/ldc-1.14-20190222/gnu/packages/dlang.scm to build ldc 1.14, but I hit the opposite issue of what was initially described in this post: - It does not seem to build against gold, it seems to use the regular

Re: Add helper for .desktop file creation?

2019-05-25 Thread Danny Milosavljevic
Hi, I agree that it would be nice to have such a helper function. But we should also report a bug upstream for the affected packages. Not having a desktop file means that a normal user (TM) can't start the program. I'd say that's a pretty bad bug. As a stopgap, we can work around it, but it mak

Re: Add helper for .desktop file creation?

2019-05-25 Thread Nicolas Goaziou
Nicolas Goaziou writes: > - string, boolean, numeric : string, possibly with a check for boolean > (throw an error if not "true" or "false"), or simply: - boolean : #t, #f - numeric : number - string : string

Re: Add helper for .desktop file creation?

2019-05-25 Thread Nicolas Goaziou
Pierre Neidhardt writes: > You are absolutely right, my initial implementation is not ready for > merge, but it's already useful as a proof of concept. Certainly. Also, it is a step in the right direction. > Would you happen to know where this is implemented in Nix?

Re: Add helper for .desktop file creation?

2019-05-25 Thread Amin Bandali
Hi Pierre, Nicolas, Pierre Neidhardt writes: [...] > Would you happen to know where this is implemented in Nix? > Otherwise I'll look at the doc you've linked. > It seems to be implemented here [1]. For examples of use, look for “makeDesktopItem”. [1]: https://github.com/NixOS/nixpkgs/blob/

Re: Installer: GUIX_IMAGE as /dev/sda on some hardware?

2019-05-25 Thread Giovanni Biscuolo
Hi Tobias, thanks for sharing your experience, I'm cross posting to guix-devel since it's worth discussing a patch to the installer Tobias Geerinckx-Rice writes: > Giovanni Biscuolo wrote: >> This is **very** important when installing grub, in fact grub >> installation failed when instantiating

Re: Add helper for .desktop file creation?

2019-05-25 Thread Pierre Neidhardt
Thanks for the feedback! You are absolutely right, my initial implementation is not ready for merge, but it's already useful as a proof of concept. Would you happen to know where this is implemented in Nix? Otherwise I'll look at the doc you've linked. Or... I'm thinking we could do even better:

Re: Add helper for .desktop file creation?

2019-05-25 Thread Nicolas Goaziou
Nicolas Goaziou writes: >> (display >> (string-append >> "[Desktop Entry]" "\n" >> "Encoding=" encoding "\n" Also, "Encoding" is deprecated. It may be worth using `maybe-print' for this one.

Re: Add helper for .desktop file creation?

2019-05-25 Thread Nicolas Goaziou
Hello, Pierre Neidhardt writes: > Quite a bunch of packages need to provide their own .desktop since > upstream does not provide them. It's very evident in games.scm in > particular. Interestingly, I had the same itch recently. > It seems to be a good opportunity to factor this out. What abo

Let's merge staging!

2019-05-25 Thread Marius Bakke
Hello! The staging branch has been accumulating updates for a while now. We have Mesa 19, Sphinx 2.0, GStreamer 1.16, ALSA 1.1.9, as well as some Python updates. See `git shortlog -n master..staging` for the scoop. I suggest we "freeze" (meaning no further updates, only bugfixes) this branch tom