IRC channel logs

2019-02-17.log

back to list of logs

<quiliro>and i need to define some names
<quiliro>raghavgururajan: i suppose that is your situation too
<quiliro>raghavgururajan: have you checked tha manual?
<raghavgururajan>Yeah, the guide asks us to do something in the config instead of manually editing files under etc.
<adfeno>Also since ODF is recognized by Brazil's Association of Technical Norms, and adopted by many governments, I have even more good references to tell people to use ODF.
<quiliro>raghavgururajan: what section?
<raghavgururajan>system comfiguration
<raghavgururajan>*operating system
<quiliro>i cannot find that section...subsection
<quiliro>please confirm
<raghavgururajan>just a sex
<quiliro>operating system reffference
<raghavgururajan>just a second
<raghavgururajan> http://guix.info/manual/en/operating_002dsystem-Reference.html#operating_002dsystem-Reference
<quiliro>raghavgururajan: hosts-file
<raghavgururajan>Yep!
<quiliro>did you define that option?
<raghavgururajan>No. I don't what to put in that option. That's why asked.
<raghavgururajan>I could not understand what's mentioned in the guide.
<quiliro>i will study today...will come back tomorow and tell you if you want
<quiliro>gotta go
<quiliro>bye
<raghavgururajan>That would be great. Thanks a lot
<daviid>not using org-mode because a government (I don't beleive I'm even reading this here) don't recommend it? amazing
<adfeno>davidl: Actually, to be more clear, it's not a requirement for Brazilians.
<adfeno>It's personal preference, so that I can use the government documentation/norms/recommendations as reference to other people in Brazil, so as to make these think on switching to standardized formats
<adfeno>Rather than continuing saving in .DOC, .DOCX, .PPT, and so on.
<OriansJ>daviid: Governments by default recommend against things they don't understand. Don't worry about that if you do things correctly, you can use things like pandoc to generate the formats they might expect.
<OriansJ>Governments with deep understanding tend to recommend text standards with embeddable SVG graphics because the purpose of written documentation is to share understanding and allow future revisions to be done effectively across organizations.
<adfeno>My Bachelor's degree final work was done mostly in org-mode, but I found it difficult to make either the org-mode itself or ...
<adfeno>... or the LaTeX result (with all the packages and stuff) be processed by pandoc to make a perfect .ODT file that my mentor could edit.
<adfeno>Even a package whose name was like "ht" and "latex" something (which I read that uses all of LaTeX's internals) didn't produce a good .ODT.
<OriansJ>adfeno: Your mentor couldn't figure out how to deal with editing text in a text editor?
<adfeno>Yep. That's really strange indeed
<adfeno>Perhaps he didn't understand the concept of LaTeX and Org-mode, although I explained giving friendly examples more than once
<daviid>latex is a couple of order of mag superior to odt, and no one should ever have to 'devert' from their own choice of thesis format becuse a governemt ...
<OriansJ>adfeno: was their degree from South Harmon Institute of Technology?
<adfeno>"South Harmon"?
<adfeno>Hm-Oh.... the acronym.... :O
<OriansJ>adfeno: Well yes the famous (S.H.I.T.) heads
<OriansJ>and their Sandwitch mascot
<OriansJ>Where one can obtain a Phd is Chilling out and thinking clearly
<adfeno>:D
<OriansJ>Yet somehow managed to get State of Ohio educational accreditation for "Higher Learning"
<OriansJ> https://www.southharmoninstituteoftechnology.org/
<OriansJ>Atleast it isn't as bad as the University of Phoenix Phd graduates. and I quote from a "University of Phoenix Phd in Computer Science", "What does binary mean?"
<adfeno>Oh geez....
<OriansJ>Basically anyone to cut them a check for $120K will get a sheet of paper that they have a Phd in any subject of their choice, no questions asked. Atleast at South Harmon, they require you to actually demonstrate something.
<adfeno>I'm not a computer science expert, but for me binary means series of 0 and 1 that are difficult to make sense of.
<adfeno>Just like minified or obfuscated source code.
<OriansJ>adfeno: if you would like I can explain exactly the mapping between the binary encoding and the human encoding of everything.
<OriansJ>Hint, it isn't impressive (Think man ascii gets you 90% there)
<adfeno>Hm.. I'll pass
<adfeno>It's 21:30 here
<adfeno>21:38 actually
<OriansJ>Sat Feb 16 18:38:13 EST 2019
<OriansJ>Greetings from Michigan
<adfeno>Greetings from Brazil :D
<adfeno>Well, the talk was interesting, but I must go to sleep
<OriansJ>adfeno: sweet dreams
<adfeno>Take care, see you all later :D
<raghavgururajan>Hi Guix! Does anybody else know how to make the file for "host-file" declaration in config.scm? What is the format?
<nckx>raghavgururajan: Looking at the manual, (hosts-file (plain-file "my-hosties" "::1 foo.bar")) for example.
<raghavgururajan>I did not quite getting it. Is it "host-name :: host.domain.tld" ???
<nckx>raghavgururajan: It's the literal content of your new host file: each line in the format <IP address> <name[s]>. It's not something Guix-specific.
<nckx>cat /etc/hosts → 127.0.0.1 localhost lapdog.tobias.gr
<nckx>(And ::1 is IPv6 for localhost).
<raghavgururajan>Oh so will it be generated automatically??
<raghavgururajan>In "host-name" declaration, should I mention just hostname or hostname.domain.tld???
<nckx>raghavgururajan: No, it won't be generated. Whatever you put as the second string will be the literal contents of /etc/hosts.
<raghavgururajan>Cool! Thanks
<nckx>raghavgururajan: As to the second question: overriding the default kind of implies ‘you know what you're doing’ already :-)
<raghavgururajan>Well, I am learning to ;)
<calher>Who here uses Guix daily, and what does your workflow look like?
<calher>*On their main computer
<nckx>calher: Probably most people here, many of them now asleep. Me. Workflow?
<wxie>nckx: hi, do you know to how to make dual boot for guix with another GNU?
<apteryx>calher: what kind of workflow are we talking about? I use GuixSD daily, both for home and work.
<nckx>wxie: No experience. I'd install a GRUB separate from both, write a configuration file with menu items that load each distro using configfile, and make sure neither Guix nor the other distro overwrite it.
<nckx>One can also add custom menu items to Guix's GRUB menu but I don't know how well that works in practice.
<nckx>In any case, it's a completely manual process.
<nckx>Any reason you asked me personally?
<Levy[m]>calher: initially use `guix environment` for projects until there's enough to write a manifest. Eventually the manifest turns into a package definition when others need to be involved / release is due. But I guess most work along the same way so there's not much more I can say. Guix does manage all of my editor plugins for neovim (have some I should complete so they can be included in proper) and such.
<atw>tune: I am debugging our issue. I switched to awesomewm and I am also getting a BadMatch on request_code 2, which I found out is https://code.woboq.org/qt5/include/X11/Xproto.h.html#_M/X_ChangeWindowAttributes. I could not reproduce the problem in cwm. I also found https://lists.gnu.org/archive/html/bug-gnu-emacs/2019-01/msg00465.html, which sounds similar to our issue, but a patch that fixed that issue was merged, and I am debugging
<atw>emacs' current master
<atw>also, I got a BadMatch from pavucontrol too
<wxie>nckx: Thanks. I tried to do dual boot with guxiSD, but have not made it work, so I want to check if there is someone doing this.
<nckx>wxie: It's definitely our intention to support it, so if you're really stuck after reading the documentation (if there is any) please drop in here or at help-guix@gnu.org.
<nckx>(Just no out-of-the-box detection or anything fancy… yet.)
<calher>Levy[m] apteryx nckx - GNOME, Gajim, HexChat, qTox, Telegram, Mumble, VLC, Shutter, Abrowser, NoScript, LibreJS, Greasemonkey, Alternate Tube Redirector, Invidio.us, IceDove, Enigmail, Kodi, Me TV.
<calher>Multiple user switching.
<apteryx>oh, you mean what's my operating system config like
<apteryx>it's based off the lightweight-desktop template. I use ratpoison + emacs + icecat + weechat, mostly.
<apteryx>it's quite minimalistic
<atw>is there a way to log the X things that a process does?
<wxie>nckx: ok. I will try around more.
<calher>apteryx I intentionally use total noob bloat.
<Levy[m]>ah, GNOME/bspwm (switch back and forth as can't decide) + nvim + emacs + surf + dev tools + weechat, I did base it of the minimal but eventually just started using %desktop-services with a few things removed/changed
<calher>I try to use a desktop that people might see me use on a projector and think, "I want to use that" and not "Wow, he's so smart. He's a computer whiz and has so many terminals open."
<nand1>you might be projecting there
<apteryx>can someone explain to me the subtleties between #:modules and #:imported-modules as used by the gnu-build-system?
<apteryx>OK, I think I've answered the question: #:modules is for Guile's native modules
<apteryx>#:imported-modules is for any other modules not part of Guile (such as the guix build modules).
<raghavgururajan>Hi All! I am confused with understanding the difference between packages vs binaries vs source code tarballs. Can anyone help with this please?
<Levy[m]>raghavgururajan: source code is used to build binaries; packages are (in the case of guix) descriptions of how to turn the soure code into a binary and install it.
<raghavgururajan>Wait a sec. Isn't that descriptions called package definitions??
<raghavgururajan>Do source code tarballs contain source files which are use to build binaries??
<raghavgururajan>If binary is what getting installed, why do we have "guix package -i" instead of "guix binary -i" ??
<nand1>a lot of the terms are overloaded
<nand1>guix refers to the definitions as "recipes"
<raghavgururajan>LoL. I am even more confused XD
<nand1>a package can consist of multiple binaries
<nand1>a binary is run by the computer
<nand1>inputs --> [function] --> outputs
<nand1>recipes are the function that transform inputs into outputs
<nand1>inputs are also described by recipes
<nand1>and outputs can be a bunch of binaries belonging to that package
<nand1>idk hope that helps
<nand1>maybe I am getting lax in my precision, too
<raghavgururajan>I am trying to get it in my head. Function in progress ;) Haha
<nand1>the main point is that source code is compiled by a compiler into a binary that the operating system can run
<nand1>a recipe describes the process of building the software, including how to compile it and what libraries to use
<phenoble>Hi everyone
<phenoble>Anyone familiar with the guix sources here that could help me point in the right direction? I am trying to fix something that looks like a bug in guix, that prevents me from being able to use guix productively.
<phenoble>Report on bug-guix: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34494
<decent-username>what a wonderful new day.
<phenoble>Q: What is the mechanism for having the daemon run scripts/perform-download.scm as non-root user, and where is it used?
<decent-username>I finally managed to get guix installed. Does anyone know how I can start the daemon automatically on SysVinit? It's not mentioned in the manual.
<decent-username>I should probably know this if I'm using it. :D
<phenoble>decent-username: I think you would create symlinks in /etc/rc*.d for that.
<phenoble>From the guix-sources: (with-fluids ((...)) (dynamic-wind (...))) ... really? :P
<decent-username>@phenoble the symlink seems to do the trick. I'm still new to system administration and just learning all this stuff.
<decent-username>It took me a day to get guix installed. :D
<phenoble>\o/
<phenoble>decent-username - looky what I just found by accident: https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#sysv-startup-of-guix-daemon
<decent-username>Now I can finally get my hand on all those juicy packages. ᕙ( ° ͜ʖ ͡°)━☆゚.*・。゚
<phenoble>Iff they build.
<decent-username>thanks for the link. This appears like a better version of the manual. :p
<phenoble>indeed, I am getting the same impression
<decent-username>Would someone maybe be so kind and consider sparing some of his precious time to eventually have the kindness to explain to me what 'configure: error: freeimage not found.' means, if that's not to much to ask?
<ngz>You are missing freeimage input in your package definition
<ngz>(probably)
<decent-username>ok, what does that mean?
<ngz>Are you writing a package definition?
<decent-username>no, I'm just trying to install a package
<ngz>OK, which one?
<decent-username>guile-sly
<ngz>OK.
<ngz>The package definition seems to have freeimage inputs.
<decent-username>I've never head the term `freeimage' before.
<ngz>According to https://hydra.gnu.org/build/3362079, the package is failing consistenttly since april 2018.
<decent-username>> . < noooooooooooooo
<ngz>The continuous integration system encounters the same error.
<ngz>I cannot help you much
<decent-username>yeah, that's unfortunate.
<ngz>I see guix doesn't provided latest freeimage release
<decent-username>At least to hope of getting my hands onto that package made me install guix. Now I can start learning it.
<ngz>One way to move forward would be to upgrade freeimage package definition.
<decent-username>Nah, that's too much of a hassle I rather just write my own game engine. :p
<decent-username>guile-sdl and guile-opengl install flawlessly
<raghavgururajan>Okay, I am kind of getting somewhere. So there are actually two types of packages. Source Code Packages (.tar.gz) and Binary Packages (like .deb .apk etc.). Building binary packages from source packages using package definitions/recipes are called "packaging". Substitutes are pre-built binary packages. Is this right??
<efraim>freeimage has a number of problems iirc
<ngz>efraim: I tried to update it to 3.18 by simply updating the version and the hash, and removing the patches, but it fail.
<ngz>I don't have time to investigate more atm.
<Sleep_Walker>is it possible to enter build environment with interactive shell?
<Sleep_Walker>guix build --keep-failed <...> # to get the state
<Sleep_Walker>and then enter it with the same restrictions as Guix build has....
<Sleep_Walker>ah - guix environment --no-grafts -C <...>
<pkill9>Sleep_Walker: use `guix environment --container` (possibly with --pure, not usr eif that's needed) and then instantiate the environment variables of the build which is in a file at the root of the failed build directory
<janneke>pkill9: that comes very close, but it will still give you /bin/sh
<pkill9>hmm yea
<notnotdan[m]>So, Guix is a featured resource on the libreplanet this month: https://libreplanet.org/wiki/Group:Guix/Wishlist
<phenoble>So I modified the guix sources (to solve a problem I have using guix with proot), built guix from source, created a binary tarball using 'make guix-binary.x86_64-linux.tar.xz' .
<phenoble>The change I made to the sources does not seem to be integrated in that. On the off-chance that anyone can help and would be so kind do do so, question: is the assumption that the tarball would have source changes included in them, wrong?
<jlicht>hey guix!
<decent-username>hey jlicht. \o/
<OriansJ>phenoble: well source changes only take effect if the build explicitly would use the changed code (Either via commit id, version etc). Otherwise the changes were treated as damage, purged and the build occurred exactly as expected.
<phenoble>OriansJ: I was suspecting that such a mechanism would be in place, but couldn't find it so far in the Makefile or documentation. Thank you for that information!
<over7head>can guix be installed without iso form existing distributions
<phenoble>OriansJ: how would I pass in, e.g., a commit-id?
<over7head>probablz there is tar.xz szstem but im watching documentation and it is some new init to me and principles, i will not be able to do it without some documentation
<phenoble>OriansJ: I already branched off upstream master, and created a commit with my change. Would that be enough? (Asking, because a build + try-out takes ~20 minutes)
<over7head>mazbe installing guix package szstem on top of distro and keep building on separated partition but i dont have idea how to do it_
<Levy[m]>Yes but ot's not officially supported
<Levy[m]>it's*
<OriansJ>phenoble: If you look at the definition of the build, it will make more sense
<Levy[m]>over7head: Check the mailing list for how. A few have tried and from what I've seen, has worked out quite well
<OriansJ>There is a hard line between current state and build targets. A build target will always be bit for bit identical if the builds are determistic; regardless of the changes to the guix doing the work
<over7head>Levy[m] thank U for info, i will check it
<phenoble>OriansJ: Ok, so a 'make' invocation builds a guix binary, which is then used to build the guix package (guix.scm), getting all its state from the upstream repositories, including the guix binaries themselves.
***janneke is now known as janneke[m]
<phenoble>
***janneke[m] is now known as janneke_
***janneke_ is now known as janneke
<OriansJ>phenoble: well it shouldn't get binaries, unless you enabled substitutes
<phenoble>Oriansj: So I suppose I would have to write my own guix_custom.scm, where... the guix binaries are not downloaded (/build from) upstream (sources), but the locally built-binaries are used instead.
<OriansJ>or just modify the guix.scm defition
<phenoble> - which sadly does not look like a guix package-definition, that I have seen before, so I don't understand what's going on there :(
<OriansJ>one could say building of the bootstrap binaries, is a little bit of a dark art.
<phenoble>OriansJ: thank you very much so far, though. Maybe I can ask another question, an answer to which might actually solve the actual problem I face:
<phenoble>I am trying to get guix to run on a system (/systems) where I do not have root access using proot, following pjotrs guide here https://github.com/pjotrp/guix-notes/blob/master/GUIX-NO-ROOT.org .
<phenoble>This works on a local VM, so the process must be correct (sometimes), but fails on my local system - and on the target systems themselves.
<phenoble>The problem is that scripts/perform-download.scm , when trying to get guix-daemon to actually do anything using the guix binary, is eventually being called as root - which it shall not be, for there are checks in scripts/perform-download.scm.
<OriansJ>phenoble: lack of root is a serious problem for running guix but you can approximate it by having guix make relocatable tars which you can put in your ~/bin
<OriansJ>The calls to root should only for creating the chroots to perform the build/installs
<phenoble>OriansJ: Yes, I've read about that workflow. But that would mean that I'd have to prepare everything that I intend to install on one of those systems, beforehand, would it not?
<phenoble>That is kindof unsatisfactory.
<OriansJ>phenoble: well on systems you don't control, it is a bit of a problem
<phenoble>But but there's a solution that involves proot, except that this does not seem to work on the particular system that I intend to use it on.
<phenoble>And the issue is that "guix perform-download" seems to be used as root (proot fakes root), where it should not, for it will complain and error out if it is.
<OriansJ>well proot doesn't work on STIG hardened systems
<phenoble>My modification was to remove these two (assert-low-privileges) calls from perform-download.scm.
<OriansJ>phenoble: the assert is a sanity check
<phenoble>So the fact that this is called as root is not the problem but a side-effect of some bigger-problem?
<OriansJ>phenoble: I am going to be honest; in some hardened environments; running guix isn't actually an option but one can still leverage guix packages with planning and still get the roll-back capabilities via cheating (say git repo your binaries)
<phenoble>OriansJ: What I am actually looking for is indeed distribution-independent, hassle-free, reproducible, management of binaries. I don't like Ansible, but do like Scheme - so guix it was, or so I had assumed.
<phenoble>OriansJ: But populating a git-repo with a single version of binaries, and then using those on different systems (...a flatpack kind-of-approach...?), actually is an option then, too.
<OriansJ>phenoble: that it? why the no root restriction then?
<phenoble>Oh, because I am pretty sure that asking for root access on all systems I use professionally will raise some eyebrows, and be denied ^^.
<phenoble>I do have root access at home.
<OriansJ>phenoble: you only need root access for the install of guix, not the use of it
<phenoble>And "that's it?" - well, I am looking for a scaleable solution that I can stick to for years to come. Yes, that's it - for now.
<OriansJ>But if you have customers with restrictions, then you can simply do a tar drop and call it done
<OriansJ>aka unpack this tar file in /opt and call it done; the update process is rm -rf /opt/name && tar xavf name_v2.0.tar.xz
<phenoble>I like that option. It is flatpak-like.
<jlicht>hacking together something that uses `guix pack` with `guile-ssh` might be interesting then as well
<jlicht>you would still have your 'deployment'-scripts in guile, if that is something you value
<OriansJ>guix supports that in guix pack --relocatable
<OriansJ>phenoble: then guix does the building and packing for those customers.
<OriansJ>Thus you only need root on your build systems and the use systems don't know or care about guix at all
<phenoble>We'll see, all I'm looking for right now, is a solution for solving my very own package-related problems involving different linux distributions and systems.
<phenoble>But I hear you, jlicht, OriansJ.
<phenoble>I'm not sure if guix is there yet, to be used in a commercial environment.
<OriansJ>phenoble: it is already being used in commercial environments
<jlicht>phenoble: being pedantic, it is already used there ;-)
<OriansJ>It just generally used interally and not exposed to customers
<OriansJ>The smart customers are already nix or guix users
<phenoble>Sorry, what I meant was, "for purposes other than solving professional individuals (or teams?) internal needs" .. ^^
<OriansJ>phenoble: shipping product to paying customers is about as other to internal needs as one can get
<phenoble>But I am happy to hear that guix is apparently being used more widely.
<OriansJ>phenoble: most people use it where it saves them time and money; and only a few bother to extend guix to better integrate into their workflows
<phenoble>OriansJ: Yes, though it's a wide-field of quite similar use-cases that guix, but Ansible also, could and does handle, is it not.
<phenoble>s/does/do/
<phenoble>OriansJ,jlicht: In any case - thank you very much for the input. I will see to it that, if I can't get root access to all systems I work with professionally, I might at least get guix installed properly on them.
<phenoble>
<OriansJ>phenoble: root is only needed if you want to do the builds on the customer machines
<phenoble>OriansJ: Oh, these systems are not all customer machines, but also laptops I carry around, or systems I develop on.
<phenoble>OriansJ: I heard you, before :-).
<OriansJ>something tells me; people hearing about guix are just going to keep expecting a guix lite (Guix without build and no special permissions needed)
<OriansJ>Ironically easy to do
<jlicht>OriansJ: you are referring to tarballs generated by guix pack, right?
<phenoble>OriansJ: That'd effectively swallow flatpak i.e. handle all those use-cases, if I got that right.
<phenoble>Sounds great to me.
<phenoble>OriansJ: one last thing re my proot issue before - I created a bug-report on the guix-bug mailinglist that, that's what it sounded like, we could close with your help? You mentioned that proot does not work on "hardened systems", which you left undefined, but does sound plausible to me as an explanation for what is going on there.
<phenoble>I don't know enough about proot and the involved mechanisms.
<phenoble>Is it certain, that pjotrs process, will not work everywhere?
<phenoble>I am in contact with him over the issue as well - maybe his guide needs to be updated with this information about "hardened systems"?
<OriansJ>phenoble: either that or someone just needs to take a little time adding a conditional flag light-mode to the pieces of guix that require elevated priviledges; such that the guix bootstrap could also create a light edition which doesn't require elevated priviledges to run but insteads runs out of ~/bin and puts the files it downloads into ~/.cache/guix/store
<raghavgururajan>Hi Guix!
<phenoble>OriansJ: that sounds good
<phenoble>OriansJ: I'm not sure I could do that within a reasonable amount of time, though, I'm afraid. I don't think I know enough about guix just yet.
<efraim>I have most of a vim helptags profile set up, just need to work out the last bits I think
<quiliro>hello Guix
<nckx>o/
<kmicu>( ^_^)/
<quiliro>nckx, kmicu: what's cooking?
<quiliro>i still have a problem with epiphany...it will not open html5 videos on youube
<nckx>quiliro: Quinoa curry, while trying to figure out why buildin' our ceph package crashes my build box. ☹
<quiliro>Quinoa...nice!
<quiliro>crash...bad :-(
<quiliro>ceph?
<nckx>quiliro: A network file system that I don't care about but it's an input to other packages I do. Building it takes down the whole (headless) box.
*nckx uses modern browsers as little as possible & plays Web videos in mpv so can't help you there.
<quiliro>nckx: so you can play youtube videos with mpv directly w/o downloading? cool!
<quiliro>will try now
<nckx>quiliro: Yes!
<nckx>I'm watching one now.
<quiliro>guix package -i mpv
<quiliro>that's all?
<quiliro>nckx: /which X configuration/desktopm/wm
<quiliro>?
<nckx>quiliro: Should suffice. I've never installed codecs on Guix System.
<nckx>quiliro: i3.
<quiliro>Would you pass a link to your setup please?
<quiliro>nckx:
<nckx>quiliro: Sorry, no. My configs are a mess. I haven't taken the time to check for & remove any sensitive info.
<nckx>What exactly are you interested in?
<quiliro>is light-desktop.scm from the manual enough? adding emacs mpv youtube-dl gst-plugins-bad gst-plugins-ugly
<quiliro>?
<quiliro>mpv loks great!
<quiliro>s/loks/looks/
<nckx>quiliro: I've only installed mpv and youtube-dl (because I use it myself; I don't know if mpv relies on it at all).
<quiliro>nckx: i would also like emacs-guix and to see what the comments are on youtube videos.
<nckx>I don't have any manually installed gst- packages.
<nckx>quiliro: Ah. For comments you'll need a web browser. I use mpv exactly to avoid all that :-)
*nckx also uses an IceCat extension to hide most of youtube ‘content’.
<quiliro>nckx: no comments?
<nckx>quiliro: No idea what %light-desktop does. I don't use any of those defaults. God, I sound like an insufferable hipster…
*nckx goes to check on the quinoa.
<colony>does guix have a command similar to apt-get's autoremove?
<ngz>colony: I think "guix gc" might be the closest
<colony>ngz: nice
<ngz>I suggest to add a safeguard, though, e.g. "guix gc -F30G"
<colony>what does that mean/do?
<OriansJ>ngz: the default guix gc will remove all files not in the available history; hint guix package -l
<OriansJ>-F, --free-space=FREE attempt to reach FREE available space in the store
<colony>ah
<ngz>You need to purge some of your profiles first, though.
<OriansJ>colony: hint --help works everywhere in guix; eg guix gc --help
<OriansJ>for i in 1{0..9}; do guix package -d "$i"; done will remove profiles 10-19, you can figure out how to leverage from there
<nckx>ngz: Why the -F30G?
<ngz>nckx: To not remove everything. Otherwise, you may need to dl a lot of derivations the next time you want to install a package.
<ngz>OriansJ: -d accepts regexps, so -d "1[0-9]" should work.
<nckx>OK. GC is still random though.
<OriansJ>ngz: I guess I missed that change
<ngz>You can also remove by date
<colony>OriansJ: got it, thanks much
<ngz>Uh oh. It seems there is currently some progress in Sage packaging
<roptat>100%!
<roptat>That's the number of translated strings in the French manual \o/
<lfam>That's great news roptat!
<roptat>that was a lot of work, but it's done!
<lfam>Thank you for doing it!
<nckx>Thank you, roptat!
<roptat>oh, the TP robot is not happy :/
<ngz>100% of French, that must be a lot of cuss words ;)
<roptat>cuss?
<ngz>I meant cusswords, but that was a pitiful attempt of mine to tell a joke.
<roptat>bah, "No results for “cussword”."
<ngz>Let me Merriam-Webster'ify it for you: https://www.merriam-webster.com/dictionary/cussword :)
<roptat>thanksfully, it's not a word that's found in the manual :p
<OriansJ>roptat: think babytalk english way of expressing the idea of inappropriate language
<roptat>yeah, I get it now :)
<OriansJ>roptat: english is just freaking weird at times
<roptat>so are most other languages
<OriansJ>roptat: yeah but most other languages never went with pineapple
<roptat>mh... true :D
<asterope>How do I check installed/available services?
<roptat>is "herd status" what you want?
<asterope>It lists a lot of services if run as root
<asterope>I wanted to find how are the services installed, but all I found are just the service definition in gnu/services
<asterope>does it mean that all the services are available at all times?
<asterope>Just checked, they aren't... and I'm even more confused.
<asterope>There's an avahi-deamon service, but the avahi package doesn't contain any reference to it
<atw>the avahi service is defined in https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/avahi.scm?h=v0.16.0. The definition of the service refers to the definition of the avahi package
<atw>available services are documented in the manual, and you can browse through the definitions of many services at https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services?h=v0.16.0
<asterope>avahi-deamon depends on avahi package, but I can't install avahi-deamon as it isn't a package - so how are they installed?
<atw>you can customize what services should be running by adding them to the (services ...) part of your (operating-system ...) and doing "guix system reconfigure yourconf.scm"
<atw>provided you're on guixsd ;)
<asterope>thanks
<tune>The maintainer of qutebrowser has responded to my recent reports telling me that I'm running an ancient version of the browser from July 2017 with Python 3.7 and that it won't work.
<tune>He said I'm running 0.11.0 and the current version is 1.5.2
<tune>So I suppose the qutebrowser package needs to be updated
<tune>how do I reply to a help-guix thread?
<tune>I want to report an issue but I think it's one I reported in the past that I never resolved
<tune>I'd replied incorrectly when trying to continue the convo in the past I think so it never showed up on the mailing list
<tune>there's a "reply via mail to x" button but I don't want to open a mailto link, I just want to know what to send it to and it's hiding it from me... extremely frustrating
<atw>tune: is it https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34454 ? because if it is, I'm very curious to hear any news
<tune>no, sorry. it's https://lists.gnu.org/archive/html/help-guix/2019-01/msg00054.html this thread
<tune>ugh. I might give in and let it open in claws mail. I really do not like claws mail and I can barely use it
<atw>darn. Well, regarding the issue you and I seem to share, I think we do have the same issue, and I understand why our stacktraces are different. What I don't understand is what differentiates cwm from spectrwm and awesome. At this point I'm looking for ideas about how to proceed with debugging
<tune>for now I've just rolled back until the crashing stopped and then I've been doing all my updates with a --do-not-upgrade argument for icecat and guix. nothing else seems to crash so this has been working
<tune>(not that this is any sort of solution in the long-run)
<atw>tune: I also rolled back to a good user-profile generation. Did you mean icecat and emacs?
<tune>oh, yes sorry
<tune>icecat and emacs
<tune>been doing "guix package --do-not-upgrade=emacs --do-not-upgrade=icecat -u"
<tune>I think I replied properly but it hasn't shown up on the web view yet.
<atw>yeah, that takes time
<efraim>guix package -u . --do-not-upgrade=emacs icecat
<bendersteed>hello everyone, I've installed guixsd and everything is mostly smooth, but I can't get pinentry to work
<bendersteed>has anyone encountered this? I've installed pinentry and tried various versions in gpg-agent.conf but nothing spawns
<lfam>bendersteed: You need to tell gpg-agent the path to the pinentry
<lfam>This can be done with the 'pinentry-program' option
<bendersteed>lfam: thanks I already pointed to my current profile's pinentry
<lfam>It can be done in the invocation of gpg-agent or in ~/.gnupg/gpg-agent.conf
<lfam>How did you do it?
<bendersteed>in gpg agent like you described
<lfam>Specifically what did you write?
<bendersteed>pinentry-program /home/bendersteed/.guix-profile/bin/pinentry-gnome3
<bendersteed>or other variants
<bendersteed>like gtk2 etc
<lfam>'pinentry-program /home/lfam/.guix-profile/bin/pinentry' works for me
<bendersteed>the only thing that works is gpg --pinentry-mode loopback
<lfam>The other question is how exactly does it fail
<quiliro>hello all.
<bendersteed>lfam: now I restarted the gpg-agent and it works..
<lfam>Great :)
<bendersteed>i've done this like 20 times, so when i asked it fixed itself
<bendersteed>thanks for responding! guix is cool
<lfam>GnuPG can be complicated. And I think this pinentry issue bites everyone that sets it up on Guix :/
<lfam>I wish there was a way to make it just work
<quiliro>i just connected to thank everyone for your help....i could view videos with mpv
<lfam>That's great quiliro!
<apteryx>lfam: I'd like to write blog post about setting up gpg-agent using a herd user service
<quiliro>it is weird that epiphany cannot reproduce youtube
<apteryx>I'm using gpg-agent for my ssh-agent as well
<lfam>apteryx: That would be cool
<bendersteed>yeah that would be nice
<quiliro>lfam: thanks!
<quiliro>"At this moment your browser does not recognize any of the available video formats. Click here to view the frequently asked questions about HTML5 video."
<lfam>We need to figure out that issue!
<quiliro>i installed gst-plugins-ugly ...bad and the whole system has gst-plugins-good
<quiliro>oh...i thought it was just me
<quiliro>but that opened a new door....mpv!
<nckx>\o/
<lfam>I have a working package of magic-wormhole. Patches inbound!
<bendersteed>is there a way to connect geiser with a system aware repl
<quiliro>nckx: yep...you are the one to blame...jaja
<quiliro>please remind me what package it was that has pdflatex?
<quiliro>texlive-bin or texlive-latex-base
<nckx>quiliro: -bin.
<quiliro>it is for exporting emacs to pdf
<quiliro>thks
<quiliro>on i686 i could not install icecat, there was a rust build error...is it the case on x64 too?
<quiliro>it is taking a long time to build qtwebkit when installing calibre and clementine
<quiliro>is that normal?
<quiliro>it is a dual core
<ng0>webkit always takes a long time
<atw>apteryx: I would be curious to see how you've done user services
<quiliro>how can i find a message on the mailing list? where is it hosted?
<quiliro>i reported an error on Re: emacs export to PDF impossible due to missing pdflatex
<quiliro>and i want to paste it here
<quiliro> http://lists.gnu.org/archive/html/help-guix/
<quiliro>found the solution to exporting to pdf from emacs: http://lists.gnu.org/archive/html/help-guix/2019-02/msg00130.html
<apteryx>atw: sure! I can post it somewhere already
<quiliro>brb
<apteryx>atw: it's mostly this: https://paste.debian.net/1068485/ and this: https://paste.debian.net/1068484/
<apteryx>and then I plug start shepherd like this in my ~/.xsession: https://paste.debian.net/1068486/
<apteryx>HTH in the meantime I write a detailed blog post!
<atw>thanks! I use --fg-daemon in my emacs shepherd service because "emacs --daemon" would fork, causing shepherd to believe that the service had exited. Is that not a problem in your setup?
<serichsen>good evening
<nckx>Good evening, serichsen.
*jonsger should really now install Guix on his phone, not just in this boring VM...
<Levy[m]>atw: would it be ok if I could see the service config?
<serichsen>I have a little problem with foreign libraries using Lisp's CFFI in GuixSD: how do I manage libraries in such a way that they are found, e. g. by `dlopen'?
<serichsen>Or maybe from a different viewpoint: how do I get ldconfig on GuixSD?
<bavier>serichsen: setting LD_LIBRARY_PATH might be your best option