IRC channel logs


back to list of logs

<civodul>heheh :-)
<civodul>it looks like a very different language from current Nix though
<civodul>so i suppose the transition would be difficult
<buenouanq>what was alyssa referring to?
<buenouanq>Are we ready for the EOMA68 finally? ARM and uboot
<vagrantc>ACTION isn't holding breath for EOMA68
<buenouanq>supposed to ship in 2 weeks
<buenouanq>two years late (;-___-)
<buenouanq>if there's going to be another delay I wish they'd tell us sooner
<vagrantc>ACTION nod
<civodul>vagrantc: i think at FOSDEM two of us got a prototype EOMA68 board but i'm not sure what happened with those
<civodul>so it seems like progress is being made, AIUI
<rekado_>I thought the project was stalled because Luke was looking into building/modding a 3d printer first.
<uniq10>rekado_: Thanks. I will try something like that.
<rekado_>there is remarkably little activity on the mailing list.
<rekado_>uniq10: I don’t know if my comments are actually helpful in this particular case.
<rekado_>uniq10: if you’re in doubt I recommend sending email with some examples or pseudo-code.
<uniq10>rekado_: Okay.
<rekado_>ACTION —> zzZ while building R packages
<pkill9>at some point i'll post to r/unixporn, with screenfetch output, as a sneaky advertisement for GuixSD :P
<OriansJ>pkill9: I would assume, run 2 commands and have your entire computer setup the way you like would be enough but I guess showing the sort of tweakage possible might inspire others
<pkill9>yeah that would be a good idea
<axd-v>Keepass package has been failing to compile on me since yesterday. Here's the the last lines for the installation log:
<jeko>H guixters !
<Copenhagen_Bram>ACTION is installing guixsd in a qemu
<cbaines>Copenhagen_Bram, if you have an existing GNU/Linux installation, you might want to consider installing Guix as a package manager
<Copenhagen_Bram>cbaines: I have...
<Copenhagen_Bram>But I'm going to change my operating system
<cbaines>Ah, so rather than installing GuixSD in qemu, have you considered using the guix system vm command?
<cbaines>That would give you a VM, but I guess if you're planning to do the installation anyway, going through the manual steps in a VM is probably worth it
<Copenhagen_Bram>Yeah. Actually I downloaded a vm image and tried it out lol
<IntoxicatedHippo>Can I roll back a single package?
<cbaines>I don't know how to do that via the guix package command
<cbaines>If that package is the only one to have changed with the change in the profile generations, then rolling back a whole generation will have that effect
<Copenhagen_Bram>IntoxicatedHippo: You can install an earlier version with guix package -i packagename@versionnumber1.2.3
<amz3>does the rollback feature works on guix (not guixsd) ?
<amz3>I mean does it make sens?
<cbaines>amz3, rolling back is just changing the profile version/generation you're using
<cbaines>when not using GuixSD, you have profiles containing packages
<cbaines>when using GuixSD, you also have a system profile
<cbaines>you can change generation (rollback, and add new ones) for all profiles
<IntoxicatedHippo>Doesn't seem to work when the package is no longer in the packages list (or whatever it's called)
<IntoxicatedHippo>~ ❯❯❯ ls /gnu/store/ | grep emacs-25 | head -1
<IntoxicatedHippo>~ ❯❯❯ guix package -i emacs@25.3
<IntoxicatedHippo>guix package: error: emacs: package not found for version 25.3
<cbaines>Yep, the @version feature doesn't work the same as rolling back generations
<IntoxicatedHippo>The problem is I updated emacs along with a lot of other packages
<cbaines>IntoxicatedHippo, do you update Guix via guix pull?
<IntoxicatedHippo>I could just make my own emacs package but I was hoping theres a way to just use one that's already in the store
<cbaines>IntoxicatedHippo, you might be able to do guix pull --commit=... to get back to the version of Guix that the Emacs you want to roll back to is from
<cbaines>at that point, you could remove Emacs, and then re-install it, which should have the same effect as rolling back
<cbaines>IntoxicatedHippo, I've just discovered something...
<cbaines>Perhaps try this, guix package -r emacs -i /gnu/store/...
<cbaines>where you replace ... with the name of the Emacs package in the store that you want to roll back to
<cbaines>I just tried it here, and it looks to have worked
<IntoxicatedHippo>thanks, I'll try that
<IntoxicatedHippo>I'm doing this from inside emacs, hopefully I don' break everything
<cbaines>Even if it does, you can guix package --roll-back :)
<IntoxicatedHippo>Next question, is there a way to do that for packages that are part of my os config (or whatever the proper name is)
<cbaines>IntoxicatedHippo, you might be able to pull of the same trick, using the full filename of the item in the store
<cbaines>is this also a problem with Emacs?
<IntoxicatedHippo>yes, emacs 26 seems to have broken org-mode properties
<cbaines>ok, why do you need Emacs installed in your system profile, as well as your users profile?
<IntoxicatedHippo>I guess it doesn't need to be in my user profile, it's just there for some reason
<cbaines>I would suggest the opposite approach, your probably better off just installing Emacs in your users profile
<IntoxicatedHippo>It's in the system profile because I need emacs-exwm in the system profile so I can select it from slim
<cbaines>Ah, ok that makes sense
<cbaines>In this case, tweaking the package definition in your GuixSD configuration is probably the way to go
<cbaines>as in overriding the version and the source
<rekado>FWIW I use EXWM but don’t have the package in the system profile.
<rekado>it’s just a regular package in my default user profile.
<rekado>I start it through .xsession.
<IntoxicatedHippo>I'm thinking about using something like this so I can just have emacs in my user profile but I haven't got around to it yet
<IntoxicatedHippo>oh, is there already a way to do that?
<rekado>you just need to have an executable .xsession in your home directory.
<rekado>last line is “exec exwm”.
<Copenhagen_Bram>Why is guix spamming `substitute: updating list of substitutes from`?
<g_bor[m]>hello guix!
<Copenhagen_Bram>Hey g_bor[m]
<g_bor[m]>I remember, that there was a discussion here, how to import a single function from another file, that I only want to use in a single package definition, but I can't remember how that was done.
<g_bor[m]>Can you give me some pointers?
<cbaines>are you writing a module, or not?
<cbaines>if not, see the examples of using #:select here
<cbaines>if you are using define-module, then the syntax is similar, I think it also uses select
<cbaines>there is also this syntax: (@ (ice-9 popen) open-pipe)
<g_bor[m]>Actually it goes like this: we have a package in java, that is a bootstrap package. It can't use ant build system, as it is not available at this stage of bootstrapping. Ant build system has a function I would like to use, but only that function, and if possible only in that package.
<cbaines>Ah, ok, doing so as part of a build system changes things
<cbaines>When I packaged deja-dup (in gnome.scm) I used multiple build systems, you could have a look at that?
<g_bor[m]>cbaines: Thanks, I will have a look. Actually having the function imported in the module would not be a big problem, but I just want to pollute the namespace.
<g_bor[m]>We had a discussion with rekado earlier, that it would be a good idea to separate language bootstraps to modules, as we are sometimes doing quite unusual things there...
<siraben>How do I check if my substitute server is authorized?
<g_bor[m]>oops something is wrong in our build system. doc/ and doc/ is deleted on make clean. After that ./bootstrap fails with automake error cannot open ./doc/
<Copenhagen_Bram>How do I copy and paste text in files? I can't seem to paste text in any of the available text editors
<siraben>Copenhagen_Bram: Which text editor?
<Copenhagen_Bram>oh, all of them
<Copenhagen_Bram>zile, vi, nano
<roptat>g_bor: I need to do someching about it
<siraben>Try C-S-v ?
<siraben>Control Shift v
<siraben>In most terminals that's how it works anyway
<Copenhagen_Bram>I did, it just scrolled down
<siraben>Oh if it's Zile
<siraben>Try C-y
<roptat>but I can't do anything until monlay
<siraben>But you need to have something cut first
<siraben>So, C-a to go to the beginning of a line, C-k to kill it
<siraben>Then C-y to paste
<Copenhagen_Bram>Can I copy instead of cut in zile?
<siraben>It's like Emacs
<siraben>C-a C-SPC C-e M-w
<Copenhagen_Bram>It's too bad there's no vim
<siraben>Haha, I feel right at home with zile
<Copenhagen_Bram>I can't seem to do a visual mode in vi lol
<siraben>So you're used to Vim?
<siraben>Does Vim have infinite clipboard?
<Copenhagen_Bram>Depends on what an infinite clipboard is
<siraben>Kill ring
<siraben>If I cut something at any point in time I should be able to recover it.
<siraben>I find that feature to be very useful in Emacs
<siraben>Among hundreds of other things
<g_bor[m]>siraben: There was some magic civodul posted a few days ago to check authorized servers. I'm looking at it in the logs.
<siraben>I just realized when I go to school, my mirrors are very slow, but at home they are fast, despite the internet speed being faster at school
<siraben>e.g. it's a difference of >= 1 Mbps vs ~ 30 Kbps
<siraben>Copenhagen_Bram: Why not try installing Vim?
<g_bor[m]>siraben: look at /etc/guix/acl
<Copenhagen_Bram>siraben: i tried installing neovim but it ran out of space
<siraben>g_bor[m]: Yes I happen to authorize both Berlin and Hydra
<siraben>Copenhagen_Bram: You didn't enable the cow herd
<g_bor[m]>roptat: Can I somehow assist you?
<siraben>If you're on a VM or running the installer, you need to tell it to use the disk space
<siraben>I ran into this issue before
<siraben>g_bor[m]: But when I change the systemctl daemon and run guix pull, it compiles perl...
<siraben>I change the systemctl daemon to see mirror vs hydra performance
<siraben>It would be nice to benchmark them
<g_bor[m]>siraben: If you can, please do, and share your results.
<siraben>How would I do such a benchmark? Can I download binaries without installing them?
<siraben>Guix could be improved by incorporating some features from apt
<Copenhagen_Bram>Such as?
<siraben>That benchmarking
<siraben>apt has a lot of mirrors, and you can let it find the "best" one
<siraben>And download continuation
<siraben>hm.. and fixing the console output which seems to be weird sometimes
<siraben>I'll look into the source when I have more time.
<g_bor[m]>siraben: as far as I know apt does a ping like benchmark on the mirrors. Download continuation would be nice. Console output cleanups are work in progress, at least for guix package, you can see the related outreachy project propsal on the outreachy website, the completed code on branch wip-sahithi.
<siraben>g_bor[m]: By the way what does the [m] mean?
<g_bor[m]>I am connected through a matrix-IRC bridge.
<siraben>Why use matrix?
<Copenhagen_Bram>siraben: because matrix is cool
<Copenhagen_Bram>although personally I thin the matrix-IRC bridges are slow so I use weechat for IRC
<Copenhagen_Bram>g_bor[m]: Riot? or gomuks or nheko?
<roptat>g_bor: if you want to fix it, you can
<roptat>it should not be too difficult
<g_bor[m]>Actually I had to propose a solution to my clients to use for secure communications. I proposed matrix and ring. And I got used to it.
<g_bor[m]>Copenhagen_Bram: I use Riot.
<roptat>I just don't have access to a computer this week-end
<rekado>my laptop shut down again because I didn’t realise my battery was low on power; now the guix git repo is corrupt :(
<g_bor[m]>roptat: I guess the proper fix is not to delete these files in make clean. Am I right here?
<g_bor[m]>I will have a look
<roptat>there should be a list of things not to delete
<g_bor[m]>Ok, I will take care of this.
<siraben>g_bor[m]: What about Ring?
<siraben>Is it user friendly enough to use?
<siraben>^for normal people
<g_bor[m]>siraben: It is ok for my usecase, which goes like I only have 1:1 audio calls, over smartphones paired by QR codes. Actually I have not tried it for other uses yet.
<g_bor[m]>Text messages also work. I could not get video working on my phone.
<siraben>Video works for me
<siraben>But then, I've tried it only on my local network
<siraben>So icecat is downloading at 20 KiB/s ...
<pkill9>are there any wayland window managers in guix?
<rekado>none that I know of.
<rekado>I wanted to package sway.
<pkill9>how much progress have you made on that?
<mbakke>There is some rudimentary Wayland support in GNOME on Guix.
<cbaines>Does anyone know of a way to copy derivations from one machine to another, without having to go through the signing key faff?
<civodul>cbaines: you could do: GUIX_DAEMON_SOCKET=ssh://otherhost guix build foo -d
<cbaines>ah, useful, thanks :)
<cbaines>however in this case, I'm trying to copy derivations from a machine I have SSH access to
<cbaines>I haven't setup SSH access in the other direction
<jlicht>cbaines: you could set up a reverse SSH tunnel-thingy
<jlicht>poor-person's vpn ;)
<OriansJ>netcat -l $port < foo for serving up a single file
<g_bor[m]>hello guix!
<jlicht>hey g_bor[m]!
<g_bor[m]>I am looking around this issue, that running make clean breaks the bootstrap script. I have a feeling that this should not happen, although the expected behavior of this is not documented.
<g_bor[m]>We talked about forcing make clean not to delete the french manual texi files, but it might happen, that bootstrap should be modified instead to work if these are missing. I'm currently checking, if make can regenerate the files...
<jlicht>g_bor[m]: ah nice! I've kept running into this the last few weeks as well, but thought it was just something silly on my end
<OriansJ>g_bor[m]: shouldn't make clean in a git repo just be git clean -xdf
<g_bor[m]>OriansJ: it seems that we are using the default automake clean rules here, and it seems that it works out just fine. And this way it works even if the source you get is not from git...
<g_bor[m]>But this is my first round around this part of the code, so I don't really know about other motivations.
<OriansJ>g_bor[m]: wouldn't one want to pack the .git in the tarball to enable a simplified update method;
<jlicht>OriansJ: You want to release the entire git repo in a release tarball?
<g_bor[m]>OriansJ: Actually I don't know how this is currently done. I will have a look.
<OriansJ>jlicht: too large?
<g_bor[m]>OriansJ: currently we don't have it in the tarball. It might be too big.
<jlicht>OriansJ: I guess this would not be a problem yet for guix, but it does seem unconventional. It would not make sense for some bigger-repo projects (e.g. emacs) for sure though
<g_bor[m]>And it would be nice to have a working make clean if git is not installed...
<OriansJ>isn't that why git clone --depth 1 $URL for shallow git clones exist, it only has the current and not any of the history
<jlicht>OriansJ: fair point.
<g_bor[m]>jlicht: it seems that the french manual texi files are generated just fine by make.
<jlicht>g_bor[m]: the problem for me occurs when I `make clean -> ./bootstrap'. I do not know if a simple `make' would suffice to fix it; Right now, I just recover the manual via git if I run into this situation
<OriansJ>g_bor[m]: would it be reasonable to default to the git clean -xdf option if git is installed and fall back to the current automake clean function if not available?
<g_bor[m]>jlicht: and the checked in texi files are stale. I guess we should not depend on them bootstrap, and I don't think it is wise to have them in the repo either. WDYT? If we always build them, they don't become stale.
<g_bor[m]>OriansJ: actually this might worth an e-mail on guix-devel, so we could see the pros and cons more clearly. I would not take this step until we have some more opinions on this topic. A depth -1 clone would solve the size problem for sure.
<g_bor[m]>OriansJ: Could you please write a mail to guix-devel summarizing the discussion we had here?
<jlicht>g_bor[m]: If we always have all information to re-generate the translated texi files, I really don't see them having a place in the git repo. Definitely in the release tarballs, of course. Maybe someone who worked on the French manual in the first place can tell us more on why we have what we have right now?
<OriansJ>g_bor[m]: I can do that
<g_bor[m]>jlicht: roptat is working on this, he said, that he will not be at computer this weekend, and I said that I will have a look around this issue. The only drawback seems, that the french manual is not readable from a git checkout, until make is run. WDYT?
<g_bor[m]>OriansJ: Thanks for that.
<janneke[cm]>hey phant0mas
<jlicht>g_bor[m]: As a (non-French) programmer, I would always try to keep generated artifacts out of a repo. Although if we look at e.g. `guix.texi', which is also a generated file, we see that it is also left alone by make clean. So for consistency I think it would be best for now to just have `make clean' leave both alone. We could at any later time still go with your suggestion, but then we can do it in one go for all g
<jlicht>enerated documentation so we don't have these inconsistencies again. WDYT?
<jlicht>heh, ignore the 'me not being French' part, it no longer really fits in that sentence after rewriting it
<g_bor[m]>jlicht: ok, the I will stick with the original idea, and try to come up with a fix so that make clean leaves these files alone.
<g_bor[m]>jlicht: ok, I have found the problem, and also a possible solution. The problem is, that these manual files are registered as BUILT_SOURCES in doc/ So automake thinks, that make builds these files, and on make clean removes them. The easiest solution would be to remove these files from BUILT_SOURCES. This will not break in the current situation, as we have these files in the repository.
<Copenhagen_Bram>Gmorning guys. The virtual installation of GuixSD for practice is proceding slowly, thanks to my slow internet.
<roptat>g_bor: makesure the release tarball still have the files though
<OriansJ>Copenhagen_Bram: you can always use a local repo as a proxy for better performance
<Copenhagen_Bram>yeh but then i'd have to wait for that to download
<Copenhagen_Bram>how big is it? I suppose I could download it at midnight
<OriansJ>Copenhagen_Bram: you only have to download and cache which that you wish to use and nothing more. aka if you need to provide 1GB of binaries for your guix virtual machine that is all the space you need; if you need 100GB of binaries for your guix virtual machine, that is the amount of space you will require.
<pkill9>how do you use a locla repo as a proxy?
<OriansJ>well you simply leverage substitutes and publish if you so desire
<Copenhagen_Bram>OriansJ: What's the guix command for that?
<OriansJ>guix publish
<OriansJ>Once a publishing server has been authorized (see Invoking guix archive), the daemon may download substitutes from it
<Copenhagen_Bram>I mean what's the command for downloading the packages I need?
<g_bor[m]>roptat: The files are still listed in extra_dist.
<g_bor[m]>I believe that's enough for them to be included in the release tarball.
<OriansJ>Copenhagen_Bram: guix download
<g_bor[m]>This is a snippet from the automake documentation: "However maintainer-clean should not delete anything that needs to exist in order to run ‘./configure && make’.". I believe we should include running ./bootstrap to that list. WDYT?
<g_bor[m]>If you agree, I will also remove the french manual files from maintainer-clean files.
<Apteryx_>hello guix! has anyone successfully transfered files via bluetooth from an Android phone to GuixSD?
<Copenhagen_Bram>guix package -s bluez
<Copenhagen_Bram>Apteryx_: i'm sure bluez would work just as it would on any other distro
<Apteryx_>My understanding about receiving files over bluetooth is that there needs to be some obex daemon, and that nowadays bluez doesn't do this directly but provides the means for clients such as Nautilus or such to do so through DBus.
<Apteryx_>I have bluez installed but by itself it doesn't do much to accept files transferred by bluetooth. I'd be happy to be proven wrong :)
<Copenhagen_Bram>Do you have obex?
<Copenhagen_Bram>hmm, i can't find obex in guix :/
<Apteryx_>The phone is paired with my GuixSD (bluez 5.44) but attempting to transfer files fails (reason: Connection unsuccessful)
<Apteryx_>Guess I'll stick to adb for now ;)
<Apteryx_>(also asking in #bluez-users in case)
<Copenhagen_Bram>Hey, can I change config.scm later to change my window manager?
<roptat>Copenhagen_Bram: yes! then you need to run guix system reconfigure
<Copenhagen_Bram>ah cool
<ngz>I have a path question. A package has executable and data in /prefix/share/pkg/. I'd like to create an executable in /prefix/bin/. Unfortunately, configuration has relative file names. As data is in share/pkg/, it cannot be found when calling the executable located in bin/.
<ngz>Using a subshell to change the cwd before calling the executable in share/pkg/ is not an option.
<ngz>Using a symlink doesn't set cwd to share/pkg/ either.
<cbaines>ngz, surely having the executable on the PATH isn't going to be very useful if you can only run it from a single directory in the store?
<Copenhagen_Bram>I have an installation question. In /mnt/etc/config.scm I set the bootloader target to /dev/sdb. But I just realized that when I boot from the hard drive instead of live GuixSD, the same device will become /dev/sda. So what do I do?
<Copenhagen_Bram>Will that be alright?
<Copenhagen_Bram>Thanks in advance
<Copenhagen_Bram>Also, thank you writers of the Guix manual for helping me learn how to use gdm and how to connect to the internet without a network manager
<efraim>hmmm, --with-source doesn't affect vim, this will take a bit longer it seems
<ngz>cbaines: this is why I'm currently using a shell scripts that starts a subshell where the cwd is appropriately chosen. But that doesn't work perfectly.
<cbaines>Copenhagen_Bram, I'm no expert, but I think that should be fine
<cbaines>Just make sure the other file system bits are correct
<cbaines>(or wait until someone more informed can help)
<cbaines>Is getting the program to use absolute filenames feasible?
<ngz>Not really, because they could leak in user config.
<cbaines>ngz, I guess the way the program is written, it's not really designed to be installed in the usual sense then?
<cbaines>if it's packed for other free software distributions (e.g. Debian, Nix, ...) you could have a look at the approach they take?
<Copenhagen_Bram>Do you guys consider qt-webengine to be nonfree because it uses parts of chromium? I really wish I could install anki on an FSF distro
<cbaines>I've used Anki on Debian before (with any non-free bits as far as I'm aware)
<cbaines>so I think it should be possible
<efraim>i think i've tracked the vim test failure down to 8.0.1440, testing the fix now
<efraim>vim built, now to test vim-full
<ngz>cbaines: Apparently Debian succeeds, i.e., executable is in /usr and ini files in /etc without problem. Odd.
<Guest875>Hello, I was just reading guix's blog about running system services in containers...
<Guest875>can we do the same with user programs?
<Guest875>ie: run Firefox but give it write access only to ~/Downloads ?
<Copenhagen_Bram>Hmmm. That would be cool if it could
<Guest875>Copenhagen_Bram well I know there are some lightweight programs that can do this at the moment...but I hope hoping vanilla guix already supported it.
<Copenhagen_Bram>Hmm. What are these lightweight programs?
<cbaines>Guest875, I remember some discussion of this on the mailing lists... let me see if I can find it
<cbaines>Guest875, here is one thread
<cbaines>but I think there have probably been more
<Copenhagen_Bram>Hey preflex
<pkill9>shouldn't all the font packages have search-paths?
<pkill9>or are search paths only specified if the package itself requires them?
<pkill9>i guess that makes sense
<vagrantcish>so, i'm having a bit of time configuring the system to mount the efi partition ... it rejects the very short vfat UUID, not sure how to set a label on vfat, doesn't seem to support partuuid directly...
<Copenhagen_Bram>Hmm, guix doesn't seem to be responding. I typed `guix system init /mnt/etc/config.scm /mnt` but it doesn't seem to be doing anything
<Copenhagen_Bram>Great, what do I do?
<efraim>vagrantc: try this
<efraim>(device (uuid "F010-1913" 'fat))
<Copenhagen_Bram>efraim: How do I restart guix-daemon?
<vagrantc>efraim: thanks.
<efraim>Copenhagen_Bram: it should be 'herd restart guix-daemon'
<vagrantc>efraim: i did end up just using /dev/disk/by-uuid/XXXX-YYYY
<efraim>'herd status' lists all services
<efraim>ACTION zzzz
<Copenhagen_Bram>Thanks efraim
<Copenhagen_Bram>Well crap, it's still not doing anything.
<Copenhagen_Bram>guix package -s qemu isn't doing anything either. guix help works though
<Copenhagen_Bram>this sucks ._.
<Copenhagen_Bram>huh, shutdown and reboot also didn't do anything
<Copenhagen_Bram>hmm, i restarted the virtual machine, Now guix system init is working (after 10 minutes) but guix package -s seems unresponsive.