IRC channel logs


back to list of logs

<civodul>subtle off-by-one in commit-extract-signature
<lime_>well this room got busy whilst I was away
<buenouanq>the revolution nears
<lime_>I'll be against the wall
<lime_>will you?
<lime_>been looking for a project to do some dev towards
<lime_>guess I found it
<marusich>Given a debbugs url like, is there a way in emacs to "just bring up" the bug in debbugs-ug?
<marusich>Is there a function like "show-me-the-dubbug-under-point"?
<marusich>Looks like there is something which is supposed to do that for text like <Bug#22138>, but I can't figure out how to make it work.
<davexunit>heh, this is embarrassing. is guix-devel still the right place to submit patches?
<davexunit>I seem to remember there being a new mailing list for patches but I haven't contributed in so long that I am out of the loop. the manual still refers to guix-devel.
<lfam>davexunit: The new place is It goes to a debbugs instance so the patches have bug numbers and can be tracked
<davexunit>lfam: thank you!
<kadintrooper>My laptop is a uefi bios hybrid, and when I install guixsd it appears to install okay but there is no boot option for grub
<kadintrooper>Is there any way to boot via uefi?
<takside>afaik there is no official way
<takside>but you can use UEFI to boot via efistub or w/e
<takside>it's how i boot guixsd
<kadintrooper>Yeah that would be fine
<takside>you'll want to use efibootmgr
<kadintrooper>Where is the kernel kept?
<kadintrooper>I usually set my boot options up through my efi shell
<takside>i'm not on guixsd right now, but iirc it's in /gnu/store or w/e
<takside>ah ok
<kadintrooper>Alright I'll check that out thank you
<takside>near the bottom this has the command, but I'm guessing you don't need that if you have UEFI shell
<lfam>This thread, which continues into the next month, has discussion of GuixSD and EFI:
<kadintrooper>I can't seem to find the actual kernel, it's not in linux-libre in gnu/store from what I can see
<lfam>kadintrooper: My grub.cfg has entries like this <> on GuixSD
<kadintrooper>Thank you, found it. Now kernel is hanging on switched to clocksource tsc so I'm trying to fix that
<lfam>kadintrooper: Previous discussion of this problem:
<kadintrooper>At 237 I got random: fast init done and at 696 i got random: crng init done
<kadintrooper>Hasn't done anything since though, I might just leave it for a bit
<balduin>does guix support aarch64 (arm 64-bit)?
<kadintrooper>Booted up, thank you takside and lfam :)
<Apteryx>After investigating man-db sources a bit, I know for sure that to generate the manpages db files (*.dir), we have to pass $MANPATH as an argument.
<kadintrooper>I get a stack overflow when trying to import any nix pkgs
<Apteryx>The man_db.conf file is still used (despite the warning saying that it won't be used since MANPATH is set) to lookup the "catpaths" where database files go; but there are no matching entries in that file so it seems to default to writing the database file in-place (at the locations of found manpages).
<Apteryx>I guess this could be OK, since the manpaths resolve to a profile instance in the store. If I implemented a profile hook to generate these, it seems it would be OK.
<Apteryx>Could someone point me to where we keep our profile hooks code?
<kadintrooper>So how do I install a package from a definition I made? I run guix package -f (My file with definition) and it appears to have completed successfully, no output.
<Apteryx>kadintrooper: You could set GUIX_PACKAGE_PATH to the root directory of your package definitions. And then you should be able to install by name: "guix package -i your_package"
<kadintrooper>I'm trying to install neofetch, but I'm getting error: no code for module neofetch
<Apteryx>neofetch being your own package definition?
<Apteryx>Did you set GUIX_PACKAGE_PATH?
<kadintrooper>I probably did something wrong in the package definition, this is my first time trying to do this lol
<kadintrooper>I'll upload it somewhere one sec
<Apteryx>Have you tried linting your package definition?
<Apteryx>Maybe it won't even go that far if your definition syntax is wrong though.
<kadintrooper> Https://
<Apteryx>Page doesn' load for me :o
<Apteryx>I have a solid color background and a small top-right hastebin menu, but that's it.
<Apteryx>Could you please try:
<kadintrooper>Yup one sec
<kadintrooper> Http://
<Apteryx>I'm looking at it now. I'll try the same thing as you (put it somewhere and export GUIX_PACKAGE_PATH).
<efraim>balduin: currently aarch64 support is a work in progress with support only in the core-updates branch
<Apteryx>kadintrooper: What is the name of the file you have this into?
<kadintrooper>Yeah, I'm assuming it should just be neofetch?
<balduin>@efraim: thanks. Is there anything I could do to support the aarch64 branch?
<kadintrooper>Hmm nope, I'm not sure what I'm doing wrong lol
<efraim>balduin: try building packages and see what needs tweaking and what isn't actually supported by upstream. It feels like we're in the whack-a-mole stage
<efraim>Although the downside is currently everything needs to be built from source
<balduin>@efraim: thanks, I will have a look.
<kadintrooper>Apteryx: any ideas? I'm about to give up here lol
<jelly_>Hi, couldn't find any documentation regarding support for the MATE desktop environment in GuixSD. Is it supported?
<buenouanq>only supplied full DEs (as services) I'm aware of are Gnome and Xfce
<jelly_>Ugh that's a shame
<jelly_>Maybe I will be giving XFCE a spin.
<jelly_>are you using SD as a daily?
<kadintrooper>Anyone familiar with writing package definitions that could give me a hand? I've given it my best and it's not working lol
<buenouanq>can't imagine I'll ever use anything else again
<buenouanq>certainly won't want to
<jelly_>that's promising to hear
<efraim>We have a couple of MATE patches sitting on guix-devel that need to be updated and cleaned up
<jelly_>so does that mean support is being worked on?
<kadintrooper> Http:// this is what I have so far, can't seem to get it to work though
<jelly_>buenoanq, are you using a DE?
<buenouanq>Swore by Xfce for a while, but have been giving Gnome a try recently - It's really not bad.
<buenouanq>I await the day when I can just use guile-wm though.
<jelly_>yeah, I don't hate Gnome entirely
<jelly_>although I don't understand why everything has to be 3d accelerated
<kadintrooper>I use emacs as my wm
<jelly_>I am really looking forward to a simple 2d DE with a wayland compositor
<buenouanq>kadintrooper: sorry, I can't help you - Someone here surely will though.
<kadintrooper>I just can't see where I'm going wrong :(
<jelly_>also gnome ui buttons will look bulky on my X200
<buenouanq>leaning to package things is something I've really been meaning to do
<kadintrooper>And I can't use make because command not found
<jelly_>i don't mind trisquel but i need something more current
<jelly_>and at least GuixSD has up to date audio packages, something parabola struggles with
<jelly_>for example Ardour has not been updated in a long time, whilst in GuixSD the latest version is packaged
<buenouanq>GuixSD is the bright beautiful future of GNU and *nix in general
<jelly_>anyone using gnome on an X200?
<buenouanq>now all we need is a stable v1.0 of gnunet ( '-')
<jelly_>i think you'll be waiting a while
<buenouanq>( ._.)
<kadintrooper>Since I can't figure out how to package, how do I use make myself?
<Apteryx>kadintrooper: Sorry I was interrupted. Back to looking at your neofetch package now.
<kadintrooper>No problem :) I appreciate the help
<Apteryx>kadintrooper: So far I get the same result as you (ERROR: no code for module (neofetch)). Also, when I try to lint (C-c . l) it throws: <unnamed port>:472:16: In procedure module-lookup: Unbound variable: use-modules.
<Apteryx>I'll try something simple: copy paste your definition next to "hello" package and see if it compiles.
<Apteryx>Maybe there's something wrong with the use-module statements.
<Apteryx>Could make it lint now. I think we need to add the Guix root to GUILE_PATH or something like that so that the use-module can work maybe.
<Apteryx>For me that would be export GUILE_LOAD_PATH="$HOME/src/guix"
<Apteryx>Let me see if that help at all before you try it.
<Apteryx>kadintrooper: Are you using Guix from a git checkout or not?
<kadintrooper>I'm just using it however it came with guixsd
<Apteryx>OK. So it's in the /gnu/store. I believe `guix build guix` would tell you where it is.
<Apteryx>After that, I believe setting GUILE_LOAD_PATH to that location will allow you to move past that first problem.
<Apteryx>I usually work from inside the Guix tree so that these imports work automatically without having to touch the GUILE_LOAD_PATH.
<efraim>I believe what you're looking for is GUIX_PACKAGE_PATH and then put your neofetch module inside that
<kadintrooper>Now it says ERROR: in procedure scm_i_lreadparan: /home/Jason/my-packages/neofetch.scm:23:1: end of file
<efraim>I have mine set to ~/workspace/my-guix
<kadintrooper>Yeah I have that set as well
<efraim>so if I had neofetch i'd stick it in ~/workspace/my-guix/neofetch.scm
<kadintrooper>Yeah I have mine set to ~/my-packages
<efraim>that error is a missing right parenthesis
<Apteryx>efraim: I think he needs both GUIX_PACKAGE_PATH *and* GUILE_LOAD_PATH. No?
<Apteryx>GUILE_LOAD_PATH pointing to where the guix scheme modules are found, so that the use-module statements can work.
<Apteryx>Sadly I have to go now. I hope you can sort it out :)
<kadintrooper>Yeah I had a missing paren, fixed it and am now back to the original error
<efraim>i think GUILE_LOAD_PATH is for if you're coding in guile and not guix specific
<kadintrooper>Thank you for your help <3
<Apteryx>efraim: It did allow me to solve the no code error he had in the first place.
<Apteryx>kadintrooper: I think you should try GUILE_LOAD_PATH pointing to $(guix build guix) and see if it helps any.
<kadintrooper>I did, didn't work
<Apteryx>OK :/
<kadintrooper>Didn't realize packaging was going to be this hard lol
<Apteryx>kadintrooper: Getting start can take some time, but after that you should be good! Don't despair :)
<kadintrooper>I'm just not sure why it's not working lol
<kadintrooper>I can't even install packages from the git guix repo, can't find module for $package
<kadintrooper>For every package
<kadintrooper>Just really frustrating
<kadintrooper>Isnt there supposed to be a pre-inst script in the git repo somewhere
<kadintrooper>All I need it to do it download the tar, unpack it and make install
<Apteryx>kadintrooper: There should be a preinst script in the root of the repo.
<kadintrooper>Its not there for me
<Apteryx>It's possible it's created by building guix.
<Apteryx>Try: guix environment guix; then ./bootstrap; then ./configure --localstatedir=/var; then make
<Apteryx>This is explained in detail in the info manual but this should get you going quickly.
<civodul>Hello Guix!
<wingo>good morning civodul :)
<civodul>ACTION runs core-updates \\o/
<jest_a_prank>Hi, I'm trying to install GuixSD on my laptop, and have some troubles.
<jest_a_prank>I read GuixSD install manual that on the ````, but I fail to find UEFI GRUB installation
<jest_a_prank>All examples that in ``/etc/configuration/`` seem to assume that legacy MBR+BIOS installation because in the document, it passes ``/dev/sdX`` as for an argument of ``grub-install``.
<jest_a_prank>Do anyone have any idea on this?
<Apteryx>kadintrooper: Before going through this, it might be worth trying this: "export GUILE_LOAD_PATH=$HOME/your_guix_checkout:$HOME/dir_containing_my-packages.scm"
<jest_a_prank>And sorry about the my clumsy English if it was.
<Apteryx>Hi civodul!
<kadintrooper>Apteryx: I'll give that a shot
<Apteryx>Q: When using GUIX_PACKAGE_PATH, are users supposed to define GUILE_LOAD_PATH to a Guix checkout? Otherwise, or would Guix modules be resolved by "use-module" expressions?
<Apteryx>s/or would/how would/
<amz3>héllo #guix
<civodul>jest_a_prank: UEFI was badly supported in 0.12.0
<civodul>i did install it on a UEFI machine, but it's kind of clumsy
<civodul>you kind find details in the guix-devel archive around January
<civodul>you might want to wait until the next release :-)
<civodul>Apteryx: you don't have to define GUILE_LOAD_PATH in addition to GUIX_PACKAGE_PATH
<jest_a_prank>civodul: Thanks for your kind reply. Now I can feel free trying with legacy BIOS. :)
<kadintrooper>So now I have the pre install script
<kadintrooper>And I'm still stuck with no code for module
<Apteryx>civodul: Thanks.
<kekistani>hi all, just wondering if the installation instructions will work on a librebooted x200
<kekistani>not interested in disc encryption
<snape>hi kekistani, GuixSD works fine on x200, except for suspend-to-ram
<snape>s/x200/libreboot x200/
<kekistani>but as far as the install process goes, is it the same as for a normal bios
<snape>and encryption works too
<kadintrooper>All I want is neofetch, I've been trying to get this thing to work for the last 4+ hours and nothing is working gr
<kekistani>is the install process on a libreboot machine the same as it would be for normal bios
<snape>kekistani: not exactly
<Apteryx>kadintrooper: I think your (define-module (my-packages) statement must match the name of your file
<kekistani>because my machine is running trisquel right now and i am looking to migrate
<snape>because you could use, for example, GNU GRUB on firmware
<Apteryx>so in that case your file should be named my-packages.scm
<efraim>civodul: for the moment I'm disabling tests for aarch64 on gsl and mysql, gsl has multiple test failures on "exotic" architectures and mysql takes 7 hours for the build phase
<kekistani>so i could use the firmware or the os copy?
<snape>kekistani: so you would not need GuisSD to install GRUB
<kekistani>oh k so no grub needed after install is finished
<Apteryx>When I use your code with a file named neofetch.scm it complains: "ERROR: no code for module (neofetch)"
<kekistani>and the machine should boot no worries as long i don
<kekistani>and the machine should boot no worries as long i don't encrypt my disc
<kekistani>as i understand this takes extra steps?
<snape>yes, but you still need to generate grub.cfg
<efraim>other issues i can recall ATM are both mozjs files bundle a modified double-precision that doesn't support aarch64, which means no gnome/xfce, and libevent suffers from the same failure as armhf
<kekistani>so how do i generate a grub config without first installing an os copy of grub?
<Apteryx>If I rename the module to "my-packages.scm", then "guix lint neofetch" works.
<snape>kekistani: I don't know, but it is not a problem if it is installed :)
<kekistani>ok i understand
<snape>kekistani: you have to symlink grub.cfg to libreboot-grub.cfg if I remember well
<snape>or libreboot_grub.cfg
<kekistani>damn, really wish there was an official guide for this
<snape>there is, on libreboot's website
<snape>this is not Guix specific
<snape>actually, it's the same with Trisquel I think
<kekistani>because libreboot is "no longer part of the gnu project"!
<kekistani>i'll have a look anyway
<snape>the fact that Libreboot is no longer part of GNU has nothing to do with installation procedures though :)
<kekistani>but it does mean that Leah won't have specific guides for trisquel and guixsd
<kekistani>the steps can be applied to most distros though
<snape>for Trisquel, I'm pretty sure I saw a guide
<snape>maybe it has been replaced with Debian
<jest_a_prank>do guix support `/etc/crypttab`? I want to encrypt swap partition.
<snape>I don't know, but it's the same
<civodul>efraim: sounds good! just leave a comment there as to why tests are disabled
<efraim>hmm, debian got mojs@24 to build on arm64, i guess I can take a look at how they've bludgeoned that terribleness
<efraim>civodul: of course :)
<civodul>jest_a_prank: unfortunately GuixSD doesn't do encrypted swap yet, unless you use a file for swap and that file is on an encrypted partition
<snape>jest_a_prank: see
<kekistani>snape, are you sure a grub.cfg is crucial
<jest_a_prank>civodul, snape: Thanks.
<snape>kekistani: grub.cfg is crucial. libreboot_grub.cfg might not be, however, I don't know
<snape>but I use it
<kadintrooper>Apteryx: now it's saying no code found for module guix downloads
<kekistani>snape, do you use a libreboot machine?
<Apteryx>kadintrooper: Forget what I said about GUILE_LOAD_PATH, and try to use only GUIX_PACKAGE_PATH (as civodul pointed out it was unnecessary to use GUILE_LOAD_PATH).
<Apteryx>kadintrooper: I got it working from here with just export "GUIX_PACKAGE_PATH=$HOME/src/my-guix-packages", where my-guix-packages is a folder containing my-packages.scm which contains your code (neofetch package definition).
<kekistani>I understand the boot process a bit better after skimming some documentation.
<Apteryx>I have to go. HTH!
<kadintrooper>See ya, thank you
<kekistani>so snape, GuixSD does not automatically generate /boot/grub/libreboot_grub.cfg?
<snape>no, I remember I did ln -s grub.cfg libreboot_grub.cfg
<snape>but I can't say for sure, I'm on my work computer
<snape>kekistani: I forgot to say... KVM does not work with libreboot on x200
<kekistani>in layman terms what does this mean?
<snape>KVM does the hardware acceleration of qemu (used to spawn virtual machines)
<snape>you can use qemu without kvm, but it is much slower
<snape>if you don't use VMs, then you don't need to worry about it
<kekistani>oh... is this an ongoing bug? is work being done to fix this?
<kekistani>i don't use them often, but i find them useful
<kekistani>is this issue exclusive to guixsd or is it the same for other distros?
<snape>this is Libreboot specific, see don't know, but I don't think it is
<snape>ohh sorry copy paste failed
<kadintrooper>Got it to work
<kadintrooper>Anyone know how I would start x from an xinitrc?
<buenouanq>the supported way is to install your DE as a service and start it from the slime (or whatever it is) login thing
<buenouanq>when I was on debian I ignored graphic logins and just did what you described too
<mekeor>kadintrooper: startx?
<buenouanq>haven't really delved into to how to doing that on guixsd though
<rekado>kadintrooper: you can add your session startup code to ~/.xsession. It must be an executable script.
<buenouanq>rekado: how do you get rid of slim though?
<buenouanq>installing x manually doesn't give you the startx alias
<mekeor>buenouanq: i think slim is part of %desktop-services
<buenouanq>so yeah, we don't include that or a DE
<buenouanq>you just want to start up a window manager or something I presume
<buenouanq>It was short lived but I did attempt this in the past - Never got it working though.
<snape>there's a problem with startx: it requires xorg to be setuid (As far as I know)
<buenouanq>And then I realized that this machine stays on and logged in 24/7 and sort of forgot about it.
<snape>and Guix tries to avoid setuid binaries when it is possible, because they are security holes
<snape>that's why slim is a "cleaner" way to start Xorg
<kadintrooper>Because I have a script I want to run when x.starts that runs my wm
<buenouanq>kadintrooper: the graphic login should still read and obey your .xsession or whatever if it exists
<buenouanq>so you can do the %desktop-services, have your scripts how you want, and still just start it with slim
<kadintrooper>Oh hey perfect
<kadintrooper>Thank you
<buenouanq>I be sure to be asleep when nothing I just said turns out to be true or work ;3
<buenouanq>but I believe that is how you are supposed to do it if you want something that isn't a supplied DE (Gnome or Xfce)
<rekado>I’m using stumpWM, no DE. The ~/.xsession approach works for me.
<efraim>rekado: with slim?
***jonsger1 is now known as jonsger
***jonsger1 is now known as jonsger
<mekeor>there's no herd-service for pulseaudio, is there? how could i easily restart pulseaudio?
<civodul>mekeor: pulseaudio is per-user and gets started on demand
<civodul>so no need for a shepherd service
<wingo>so i have guile in my profile. it's guile 2.2 now (yay)
<wingo>then i go to do guix environment guix and it fails to configure, oddly
<wingo>configure: checking for guile 2.2
<wingo>configure: found guile 2.2
<wingo>checking for guile... /gnu/store/hhrfx8vvqaxksp0nx8grvfgw5dhjyamh-profile/bin/guile
<wingo>configure: error: found development files for Guile 2.2, but /gnu/store/hhrfx8vvqaxksp0nx8grvfgw5dhjyamh-profile/bin/guile has effective version 2.0
<civodul>do you have a stale config.cache?
<wingo>hum maybe
<civodul>oh wait, the 'guix' package still uses 2.0
<civodul>so you need "guix environment guix --ad-hoc guile@2.2"
<civodul>i think
<civodul>ACTION has all the deps in his profile :-)
<wingo>we need to stop this from happening:
<wingo>substitute: updating list of substitutes from ''... 100.0%
<wingo>The following derivations will be built:
<wingo> /gnu/store/ii432aalgkw1pq4b8qq69a79yzzkmiqf-profile.drv
<wingo> /gnu/store/sjnmqiq5icbqdfskf2471kbbjxgsgs69-info-dir.drv
<wingo> /gnu/store/kywaphs3r5sqzwhl4ggsa0a2gyqn5n8l-xdg-mime-database.drv
<wingo> /gnu/store/fs0mglb7a234018l5q20l6qg4q6cnx1d-ca-certificate-bundle.drv
<wingo> /gnu/store/dlgd9gm22g11vbwkmspww63z4snfb7im-fonts-dir.drv
<wingo>like never go look to hydra for a profile or these silly things
<civodul>agreed, it's not supposed to happen
<civodul>these things have #:substitutable? #f
<civodul>so i guess there's a bug
<civodul>BTW, unrelated, but bunzip2 is terrible:
<lime_>Time to get this install going
<lime_>Is there a way to force it to build from source?
<wingo>wow :)
<brendyn>can't you use parallel versions of programs like bunzip?
<efraim>lime_: --no-substitutes
<civodul>sneek: later tell alezost thanks for texi-in-synopses! we might need to update the web site to DTRT too
<efraim>Where is sneek's source code? People ask occasionally and I'm curious too
<lime_>why when going dhclient -6 -v interface I get no response. I am ipv6 enabled by my isp and router
<wingo>civodul: i can't build guix: LOAD (gnu tests install)
<wingo>warning: 'waitpid' -1 failed unexpectedly: No child processes
<wingo>ring a bell? this with guile 2.2.
<wingo>In ice-9/popen.scm:
<wingo> 98:7 1 (close-process _ _)
<wingo>In unknown file:
<wingo> 0 (waitpid 29648 #<undefined>)
<wingo>ERROR: In procedure waitpid:
<wingo>ERROR: In procedure waitpid: No child processes
<wingo>in master.
<wingo>strange that loading a file would fork
<civodul>hmm weird, i haven't seen that
<civodul>is it reproducible?
<wingo>for me, yes
<wingo>at least twice in a row yes
<civodul>even after 'make clean-go'?
<wingo>my guix-daemon is somewhat old tho
<wingo>i did a "find . -name '*.go' | xargs rm"
<civodul>but that's when building Guix itself, right?
<civodul>so guix-daemon shouldn't matter
<civodul>i have to go offline for a couple of hours
<wingo>ciao :)
<efraim>find | rm bad! 'find . -name '*.go' -execdir rm {} +'
<wingo>why is find | xargs rm bad?
<wingo>ACTION often does "for i in `find . -name foo`; do ...somethign with $i...; done
<wingo>which is even "worse" :)
<efraim>'Something something unescaped variables' I think
<wingo>yep there is that
<rekado>wingo: I encountered this very same error before, and so did paroneayea
<rekado>I didn’t fix it. It disappeared after upgrading again.
<wingo>i just commented out the entirety of that file :P
<jest_a_prank>If I encrypt entire partition by using LUKS and use it as a root partition, should I separate `/boot` for GRUB? or GRUB will know that kernel is in a encrypt partition and ask for the passphrase to decrypt?
<brendyn>Isn't grub it's self in /boot? it cant decrypt its self while it is encrypted surely 0.o
<jest_a_prank>I thought grub bootloader on MBR (meaning, not on /boot) asks the pw for `/boot`, and guixSD manual doesn't say any thing about it.
<brendyn>ah ok. anyway, i think there is currently a lack of support for full disk encryption in GuixSD. See the mailing list
<lime_>If i haven't used luks
<jest_a_prank>Just before few minutes, I'd finished installing GuixSD on my laptop and rebooted and realized that I forgot to mount /dev/sda1 that was supposed to be mount on /mnt/boot. But surprisingly, GRUB asked for a passphrase and successfuly loaded the kernel.
<lime_>Do I still have to deal with the 'dependancies' section
<snape>jest_a_prank: GRUB supports full disk encryption (without a seperated /boot)
<snape>but I don't know if GuixSD supports it
<snape>last time I tried, it didn't work
<jest_a_prank>snape: It seems guixSD does.
<snape>good to know!
<jest_a_prank>I messed up a bit on configuration, so I want to chroot and fix it but I can't find any documentation of it.
<jest_a_prank>Guix has some documentation about it?
<jest_a_prank>when I simply chroot in it, it can't find any tools to fix system.
<jest_a_prank>I want to fix grub.cfg by invoking `grub-install`.
<lime_>info guix - sits back with coffee
<lime_>So if I wanted to help with development, which area needs the most work?
<wingo>good question :)
<wingo>what's your goal? guix at work? guix for personal computer? guix infra like the hydra builder?
<lime_>Guix for personal computer, though the infra sounds interesting as well
<lime_>My goal is to make my resume more attractive by having some "experience" on there
<wingo>if you are a student there is an open GSoC proposal for some infra work
<wingo>and i think other GSoC possibilities
<wingo>outside of that one easy way to hack on things is to focus on desktop experience
<lime_>Everyone is always talking about GSoC
<wingo>if you are a kde user for example there is a slew of pending kde packages that need help
<lime_>I should probably listen
<wingo>it's not bad, they pay for free software
<wingo>lets you not have distractions and have a mentor
<lime_>Is it really that good on your resume?
<wingo>yeah i think it is pretty good, depends on what work you do of course
<lime_>I've actually used KDE 4 and plasma for years
<wingo>i know at work we do find it valuable in fresh-from-uni people
<wingo>it's nice because it shows what you can do in a limited amount of time on a possibly-unfamiliar-to-you project and in the open
<wingo>and how you communicate
<wingo>so from that pov it's useful yeah
<lime_>My degree is cyber security but I'm finding people don't trust academics
<wingo>heh yeah, could be. lots of prejudices and pattern-matching out there :)
<lime_>So I'm of to find a nice open source community to take me in
<wingo>i think guix folks are nice, there's new energy and some more seasoned people; not perfect, has its rough edges, definitely needs a lot of direction from the contributor, but pretty good i think.
<lime_>Guess looking up guile would be a good place to start
<lime_>Don't think anything is perfect, in free software, business or academia . Just making the best of what we've got.
<lime_>KDE it is then
<wingo>sooooo, someone recently imported a lot of kde packages, but didn't actually land them upstream yet. a good start would be to take one of them that doesn't depend on any other kde packages -- that only depends on things already in guix -- and get that landed in guix.
<wingo>sign up to guix-devel for that discussion and introduce yourself with a basic idea of the plan, just so people know and don't step on your toes
<wingo>the first package should be pretty easy in content (the content is already there) but the mechanics of getting a patch in are a bit involved
<wingo>so see the "contributing" section of the manual
<lime_>Reading that section now
<lime_>Paying particular attention to coding style
<efraim>used wget to get a patch from opensuse factory, got '<' turned into '&lt;' etc, lots of fun
<efraim>everytime I dig into a package I drive myself crazy, apparently mozjs@17 should have libffi and nspr as inputs like mozjs@24
<wingo>ACTION commiserates
<efraim>Requires.private: nspr
<efraim>now to decide which of the patches I should "backport" to master
<lime_>Does adding --no-substitutes give me more Recent packages or just raise my electric bill
<efraim>if you have a P4 or an arm board it won't raise your electric bill ;)
<wingo>you get the same set of packages
<efraim>it means you won't download source or compiled packages from hydra
<wingo>with --no-substitutes, you just don't take advantage of prebuilt packages
<lime_>So just wearing out my CPU for no reason
<efraim>I normally add --fallback to guix build or guix package
<lime_>I get a kernel panic every time my desktop resumes from sleep
<lime_>I do not think this is a new error, just guix dumps it to console
<lime_>does guixsd expect an encrypted disk these days?
<rekado>lime_: it does not expect one unless your configuration specifies it.
<davexunit>what's the state of full disk encryption in guixsd these days?
<davexunit>I have a flight in a few weeks and I'd like to have FDE if I'm going to be bringing my laptop.
<rekado>I’m using FDE (with Libreboot)
<davexunit>and with non-libreboot?
<davexunit>I'll settle for encrypted /home or whatever
<rekado>I unlock the disk in the on-chip GRUB and then again at boot time.
<lime_>The default config specifies it no?
<lime_>to the documentation
<rekado>lime_: there is no single default
<rekado>lime_: we have a couple of example configurations
<lime_>desktop example
<paroneayea>davexunit: encrypted /home works, it's not hard to set up
<thomasd>davexunit: I'm using encrypted home, no problem. The unlocking key prompt is buried under bunch of kernel boot (?) messages though
<davexunit>paroneayea: okay, cool.
<davexunit>I need to convert my existing /home to an encrypted one sometime, then.
<paroneayea>ACTION would still like encrypted lvm
<davexunit>in fact I need to make a /home partition
<davexunit>this will be annoying
<davexunit>ACTION hates partitioning
<rekado>ACTION hates partitioning with LVM a little less
<paroneayea>the main reason I want encrypted lvm:
<paroneayea>multiple reasons
<davexunit>I hear lvm is good
<paroneayea>it makes me less afraid that I chose the wrong sizes
<paroneayea>and also
<davexunit>I never really used it
<paroneayea>you can encrypt swap
<lime_>i think lvm is an unnecessary complication
<rekado>paroneayea: can’t you use an encrypted file for swap?
<paroneayea>rekado: I guess I could
<lime_>you can encrypt swap regardless
<paroneayea>lime_: but I don't want to enter passphrases multiple times to decrypt
<paroneayea>I want to enter it once, and everything decrypts
<rekado>I really like LVM on our servers.
<rekado>it’s easy to manage big disk pools
<lime_>use a keyfile on a USB stick?
<rekado>on laptops the utility is reduced
<paroneayea>lime_: that's not secure enough
<lime_>a 5Mb keyfile
<paroneayea>lime_: either it has no passphase and someone could take it, or I'd have to enter a passphrase multiple times still, or I'd have a way to splat my passphrase across multiple decryption runs, in which case I wouldn't need the usb key anyway
<lime_>it's true
<lime_>all depends about your risk factors
<lime_>and opsec
<[df]_>this is interesting:
<civodul>[df]_: indeed!
<civodul>i think we should steal one of the QuickCheck Scheme implementations
<civodul>and then have fun with that
<civodul>give that everything is in Scheme, it'd be slightly easier to do that in Guix, i think
<[df]_>I haven't looked at them, does the concept work as well without strong static typing?
<lfam>Hi civodul!
<civodul>hi lfam!
<civodul>[df]_: i think it's not as convenient as with static typing, but it's possible, just different
<civodul>i haven't looked very closely
<civodul>lfam: i upgraded GuixSD to core-updates!
<lfam>Awesome, welcome to my world :)
<civodul>looks like there are still a few failures, notably on arm, but we're doing ok no?
<lfam>I think we're close enough, but ARM is taking a while. I restarted ARM's libgc after it timed out but it's still queued:
<lfam>That issue where Python could not build on older kernels also manifests for libressl, but there is no upstream fix and it's not a very expensive build for users to do locally, so I've left it alone for now.
<civodul>makes sense
<civodul>ah yes, i noticed libgc
<civodul>i hope it was a transient failure
<lfam>It *did* work before, and then the log mentioned the typical "3600 seconds of silence", so I'm optimistic
<civodul>ACTION crosses fingers
<lime_>ACTION runs guix pull
<lime_>I assume that's how to get the latest guix code?
<lfam>lime_: That updates the copy of Guix used by the user that runs `guix pull`. So, you get the new package definitions, but it doesn't update packages that you've installed. If you're familiar with Debian, it's similar to `apt-get update`, but per-user
<lime_>I'm more familiar with fedora so when I issue dnf update it fetches new packages, updates the store and then updates the ones installed automatically
<efraim>I have mozjs 17 and 24 building to make sure I didn't break them and then they're ready!
<quiliro>why doesn't guix pull check if the latest version is downloaded instead of directly downloading it? it is 11MB even if you did it 5 minutes ago
<quiliro>Starting download of /tmp/guix-file.kkj6gv
<lfam>quiliro: There's no real reason. It's just a limitation of the current `guix pull` implementation.
<kadintrooper>Any word on installing maven on guixsd
<janneke>civodul: i cleaned-up my npm importer fixes; pushed to gitLAB -- what to do?
<kadintrooper>Also, accidentally C-c'd my guix package install, is the 700MiB lost?
<kadintrooper>It's just going to rebuild everything?
<kadintrooper>Redownload rather
<catonano>where is auom4te in guix ?
<catonano>janneke: npm importer fixes ?
<janneke>catonano: yes, work i did on top ob jlicht's GSoC npm import branch
<catonano>janneke: interesting
<catonano>janneke: can it import query, now ?
<quiliro>why is root downloading gnupg 2.1.19 if i already have it?
<quiliro>it is installed in my is not in root
<quiliro>$ guix package -I gnupg
<quiliro># guix package -I gnupg
<janneke>catonano: it depends...
<catonano>did you write any notes about whhat you fixed ?
<lfam>quiliro: I assume that it's a different gnupg 2.1.19
<lfam>quiliro: If any of gnupg's dependencies changed, that will create a different gnupg 2.1.19
<lfam>kadintrooper: Whatever was already built or downloaded should be reused
<quiliro>lfam: i do not have gnupg on root only on quiliro
<quiliro>guix system reconfigure /etc/config.scm has downloaded gnupg
<efraim>root and user could have different guix snapshots
<catonano>janneke: ah the binary option !
<lfam>ACTION tests webkitgtk 2.16.0 update
<ilyaigpetrov>I don't get downloads page. Does GuixSD comes without package manger?
<lfam>ilyaigpetrov: GuixSD includes the Guix package manager
<janneke>catonano: yeah ;-( we have no solution for npm's cyclic/impossible dependencies yet
<janneke>catonano: i separated the --binary option out, however; optional patches
<ilyaigpetrov>lfam: there is GNU Guix 0.12.0 Binary and GuixSD on the downloads page, what's the difference (one is a language I guess)
<lfam>ilyaigpetrov: "GNU Guix 0.12.0 Binary" is a standalone package manager that you can use on any GNU / Linux system. GuixSD is a full operating system based on GNU Guix
<catonano>janneke: ah I see. Did you discussed this with Ludo ? Was the decision made ?
<catonano>Did you discuss, not discussed :-/
<janneke>catonano: no; separating --binary away just made sense, i tried to ping civodul just now ;-)
<catonano>ah ok ;-)
<catonano>janneke: thanks !
<catonano>is autom4te in guix ?
<ilyaigpetrov>if I need some proprietary package -- will I be able to make a package for guix with proprietary software?
<lfam>ilyaigpetrov: Yes, we make no effort to prevent you from using Guix to package any software that you want
<baconicsynergy>hello guix, I just reinstalled guix again and pianobar is giving me "Login... Network error: URL using bad/illegal format or missing URL"... and idea on how I should solve this?
<lfam>baconicsynergy: Did you find anything useful on the pianobar bug tracker?
<baconicsynergy>where can I find the bug tracker?
<lfam>baconicsynergy: Typically the bug tracker can be found on the package's home-page, which should be listed by `guix package --show=pianobar`
<lfam>baconicsynergy: Probably we should try updating pianobar to the latest release. Would you like to try it?
<baconicsynergy>im not finding anything in pianobar's github issue list
<sirgazil>Hi! Haunt is failing to install for me. I'm getting this error:
<quiliro>what is the difference between `guix package --upgrade .` and just `guix package --upgrade`?
<efraim>On the firdt thr dot means all, on the second all is implied but the first allows you to add more flags at the end
<lfam>sirgazil: Maybe davexunit (haunt author) has an idea
<lfam>quiliro: To expand on efraim's answer: `guix package --upgrade` takes a regular expression as an argument. See the manual for more info:
<davexunit>sirgazil: you can try turning the test suite off
<davexunit>but if you can, perhaps you could send me the test-suite.log of the failed build?
<davexunit>I bet it's a date math issue
<davexunit>I've had problems with this before
<davexunit>it's pretty frustrating. might remove the test entirely.
<sirgazil>davexunit: I'll send you the log.
<davexunit>sirgazil: thanks!
<davexunit>for now you can just turn off the test suite and move on with life
<davexunit>the SRFI that has date math is annoying
<davexunit>there's a procedure in there that always uses the user's time zone and I can't set it to used a fixed one
<davexunit>so the test is nondeterministic :(
<sirgazil>davexunit: How do I turn the test suite off, and where the heck is the test-suite.log? :)
<sirgazil>(Guix on Debian)
<catonano>sirgazil: if you build with the -K option, the build folder will be saved in /tmp
<catonano>in there, you will find the tests log
<sirgazil>catonano: thanks :)
<catonano>if you are using a checed out guix, you can edit the Haunt package definition and add a #:tests #f couple
<davexunit>sirgazil: you will need to edit the recipe in gnu/packages/guile.scm and add #:tests? #f to the arguments
<catonano>you can grep for it and see how it is spelled exactly
<davexunit>sorry for the inconvenience
<davexunit>alternatively, I can push a patch to master right now that disables the test suite
<davexunit>I'll just do that.
<sirgazil>davexunit: I'm using the binary installation of Guix, so I'll pass on the recipe modification, and wait for your patch to disable the test suite. I'll send you the test-suite.log anyways.
<davexunit>sirgazil: done
<sirgazil>davexunit: Thanks. This is the log:
<quiliro>thank you efraim and lfam
<quiliro>why i cannot open!7wJzGQiC!bxPvre3C9-_uAKYWXS67kF3oDikk82vCAOO9IOoZecY ?
<quiliro>can someone else open it in GuixSD IceCat?
<lfam>quiliro: What goes wrong?
<lfam>I get the same thing in Debian Firefox 45.8.0. The page does load on Debian Chromium 57.0.2987.98
<quiliro>so it is a thing of FF?
<quiliro>not of Guix
<lfam>A combination of FF and
<quiliro>so what can i do?
<lfam>Try another browser
<lfam>quiliro: Previous discussion:
<quiliro>it works in Web
<ilyaigpetrov>May I take very restricted linux distro like ChromiumOS (hardened gentoo) and install gnu guix package manager on it? How will it work if permissions are restricted?
<lfam>ilyaigpetrov: I haven't heard any reports of this being tried, so you may be the first person to do it.
<ilyaigpetrov>lfam: does guix use any isolation techniques like containers or jails?
<lfam>Yes, the build environment sets up a chroot which is described in more detail here:
<lfam>We also offer some containerization features
<lfam>Jails are just a BSD thing, right?
<lfam>Anyways, running GuixSD services in containers is a work in progress. Most services don't do it yet, but people are welcome to help out :)
<ilyaigpetrov>I'm a little bit confused about guile, not very popular language
<lfam>Many Guix developers (including me!) didn't use Scheme before contributing to Guix. We try to help everyone learn :) And there is the friendly #guile channel for language-specific questions
<quiliro>lfam: it is an error that has more than a year
***copumpkin is now known as contrapumpkin
***kelsoo1 is now known as kelsoo
<janneke>ilyaigpetrov: Many Guile users (including me!) used many different programming languages (such as python, c++, javascript) and like Guile best
<ilyaigpetrov>janneke: how is it compared to haskell?
<ilyaigpetrov>or to nix language
<catonano>a test-driver file is missing, so the tests can't be run :-/
<davexunit>nix language is a special-purpose DSL, whereas Guile is a complete general-purpose programming language
<davexunit>biggest differences with haskell are no static typing and multi-paradigm
<thomasd>hi #guix
<thomasd>practical question: what do you use to sign an existing commit series in git?
<ilyaigpetrov>I don't know if having nix DSL is better than having whole programming language
<davexunit>and therein lies a big divide in the programming community :)
<lfam>thomasd: I use a shell function like this one:
<lfam>thomasd: And it should accept any Git revision selector as the argument:
<lfam>So the typical usage is like this: `git-sign HEAD~4`, which signs the last 4 commits
<thomasd>ooh, thanks lfam . Time saver :)
<ilyaigpetrov>So guile is not pure functional but nixos is pure, right?
<lfam>thomasd: You could configure Git to sign *every* commit, but I found it annoying to unlock the key frequently while testing merges, rebases, amendments, etc
<thomasd>yes, I'd also prefer to just rebase, cherry-pick, amend etc, and sign everything at the end.
<thomasd>also I only have my signing key at home, but like to do guix stuff on the train :)
<lfam>Right :)
<lfam>ilyaigpetrov: Right, you can program Guile in a variety of paradigms. Guix code is written in a functional style
<ilyaigpetrov>lfam: in the manual of guix it is said that build/install steps are purely functional
<ilyaigpetrov>ok, so the language is not purely functional
<civodul>janneke: re npm importer, could you send a message to summarize the situation? :-)
<civodul>i'd like to merge it but we need to think about the connections to recursive importers among other things
<janneke>civodul: sure
<civodul>so there are connections with rekado, davexunit, and paroneayea :-)
<janneke>ping, ping, ping, ping :-)
<civodul>ACTION stealthily delegates the thing :-)
<civodul>ilyaigpetrov: Scheme is "multi-paradigm" meaning that, like in OCaml, you can write imperative or functional code
<civodul>however, most of Guix is written in a purely functional style
<civodul>that said, whether Scheme is purely functional or not has no impact on whether the deployment/build model is functional or not
<catonano>I remember a recursive R importer, but which are the other ones ? Are there any more ?
<civodul>catonano: i think none of them has been merged yet
<civodul>the idea was to factorize the "recursive" part before getting them in
<catonano>ah I see
<wingo>i am getting this since upgrading guix:
<wingo> /home/wingo/.guix-profile/libexec/git-core/git-sh-setup: line 46: /home/wingo/.guix-profile/libexec/git-core:/home/wingo/.guix-profile/libexec/git-core/git-sh-i18n: No such file or directory
<wingo>on some things
<wingo>and indeed git-sh-i18n isn't there. guess i should try upgrading again or something
<civodul>wingo: setenv GIT_EXEC_PATH=$HOME/.guix-profile/libexec/git-core
<civodul>fixed in core-updates which will be merged Real Soon! :-)
<lfam>quiliro: Try <>
<quiliro>lfam: thank you
<lfam>quiliro: Their server has a configuration mistake
<Introoter>what init do you guys use?
<lfam>Introoter: GuixSD uses the Shepherd
<Introoter>how does it work? any better than the existing inits except systemd?
<quiliro>thank you lfam
<jonsger>Introoter: what do you mean by "better"?
<quiliro>!7wJzGQiC!bxPvre3C9-_uAKYWXS67kF3oDikk82vCAOO9IOoZecY will not open in icecat and will not download because of lack of adobe flash in epiphany
<quiliro>how can i download that pdf?
<Introoter>jonsger: as in quick
<Introoter>i would like it to be dependency based
<lfam>Introoter: I recommend reading the first couple sections of the manual for an introduction. If you have a specific question, we'll try to answer it
<lfam>In general, the Shepherd is at a very early stage compared to systemd, but it does work and people are using GuixSD
<lfam>Exactly what "systemd" is, is a bit nebulous. Some things performed by systemd are not done by Shepherd, but they are still integrated into the GuixSD system and configured declaratively. So, a systemd system and GuixSD both seek to offer a system with a unified interface, but the Shepherd does less than systemd.
<Introoter>yes, systemd isn't just the init.
<Introoter>i would have gone for it if they had made everything a bit more modular and loosely dependent.
<lfam>This section of our manual describes that "other" stuff that GuixSD does:
<lfam>Especially section 7.2 System Configuration
<Introoter>what are people using instead of udev?
<Introoter>i mean, that thing has been baked into systemd.
<lfam>We use eudev
<Introoter>and i guess consolekit2 for the login session in DEs?
<Introoter>hmm i'll try guix in vm
<lfam>We use elogind