IRC channel logs

2022-04-03.log

back to list of logs

<nckx>Hmm, my substitute server has been running the fenics test suite for 10 days.
<jts>that seems bad
<nckx>Yes, it means it built nothing or at most little else during that time :-/
***rekado_ is now known as rekado
***Xenguy_ is now known as Xenguy
<sneek>atka: wb!!
***alMalsamo is now known as littlebobeep
***Xenguy_ is now known as Xenguy
<atka>hello guix, guix home configure is doing something strange with my .bashrc and .bash_profile
<atka>my real .bashrc that is sourced from my home-configuration.scm is 33lines, the one guix home reconfigure generates is 70, repeating the contents of my real .bashrc ~3 times, same with .bash_profile
<atka>testing in guix home container does the same
<anadon>Hey bot, any messages for me?
<anadon>Nope.
<the_tubular>That's weird atka ...
<flaminwalrus[m]>Where does one put dictionary files for them to be discovered by aspell? There seems to be no information in the documentation about search paths, and all the usual wikis offer little hints.
<Ox151>Hi, i am trying to change the group of /sys/class/backlight/intel_backlight which is a symbolic link to /sys/devices/...../intel_backlight directory but when i chown or chgrp it does not change anything. any suggestions on changing this? trying to be able to control my screen brightness without having to use sudo permissions.
<Ox151>trying to change the group to video
<Ox151>for the light package
<Ox151>i see there is some rules in my .guix-profile/lib/udev/rules.d/90-backlight.rules that should change it to what I want.
<gnoo>Ox151: http://ix.io/3U9w
<Ox151>mabye ill have to restart my system for it to take affect?
<gnoo>Ox151: use the above and reconfigure your system, replacing %base-services with %my-base-services in (services ...) in /etc/config.scm
<gnoo>assuming you use base-services. if not, change it to what you use
<Ox151>thank you i will try that out.
<alethkit>Has anyone here set up doom emacs as a home service? I'm not sure how to go about it without creating an eldritch abomination.
<jpoiret>alethkit: i think it'd be expected to create an abomination, since you'd want to git fetch something and run some scripts
<Haider>I am thinking of installing all of my Emacs Packages in a manifest. Do I use the guix emacs package's command "guix-set-emacs-environment" command to help me do this?
<Haider>As in manifest, I also mean a profile
<Haider>if not, how do you lot do it?
<reza[m]>Haider: I'm also wondering how this is done
<cbaines>I just install emacs packages I want in my users profile, without using a manifest
<Haider>I'll try and find something.
<mekeor[m]>does anybody else have the problem that xmonad's prompt does not show up on guix-system?
<mekeor[m]>wtf. why is xmonad-0.17 still called xmonad-next?
<festerdam>Hi, all. I need some non-free firmware to install and run my system (iwlwifi) is there any way I can load and install the missing firmware at the start of the installation?
<singpolyma>festerdam: Google nonguix
<festerdam>singpolyma: Thanks!
<unmatched-paren>festerdam: if the wifi is the only problem, you don't need nonguix
<unmatched-paren> https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb
<unmatched-paren>if there's some other issue, like the graphics card, then i'd say go ahead and use the naughty channel if you must, but only if it's absolutely necessary; the important thing is to try your best, and help with efforts that would allow you to eventually drop the non-free software if you can :)
<unmatched-paren>*try your best to use as little nonfree software as possible
<unmatched-paren>btw, if you need bluetooth, thinkpenguin also has a bluetooth dongle, although it mg
<unmatched-paren>*might take up a few of your usb slots :)
***mark_ is now known as mjw
<rodolforg>why Guix only provides Synfig 1.2.2 and not 1.4.2?
<unmatched-paren>i guess nobody has found the time to update it?
<unmatched-paren>you could try updating it yourself if you have the time
<MysteriousSilver>or --with-latest=<package> https://guix.gnu.org/manual/en/html_node/Package-Transformation-Options.html
<bricewge>Hello Guix!
<gnucode>hello bricewge
<unmatched-paren>\o
<Haider>Hello!
<bricewge>Looks like I broke my install, I can't even roll-back or switch-generation :(
<Haider>You cant even get to the boot screen?
<unmatched-paren>bricewge: are you on guix system?
<bricewge>Yes, on guix system
<bricewge>I can boot, but can't "guix deploy" nor change generation anymore
<bricewge>Here is the error https://paste.debian.net/1236652/
<unmatched-paren>ok... what was the last guixy thing you did before this happened?
<unmatched-paren>'making '#f' the current system' <- uuh...
<bricewge>Guix deploy
<bricewge>Wich failed
<unmatched-paren>ok, can you try looking at `/var/guix/profiles/system-174-link`? see what's there?
<unmatched-paren>are all your packages/etc still there?
<bricewge>/var/guix/profiles/system-174-link/ looks like a normal system
<unmatched-paren>ok... maybe try one of the old guixes in `/var/guix/profiles/per-user/yourname/current-guix-___-link/bin/`?
<bricewge>Ok switching to a more recent generation work
<unmatched-paren>with the old guix?
<unmatched-paren>if so, try repulling with one of them maybe
<bricewge>Looks like it is specific to generation 174
<unmatched-paren>/var/guix/profiles/per-user/yourname/current-guix-___-link/bin/guix pull
<bricewge>Good idea
<bricewge>I manage to reboot with an older generation
<bricewge>However "guix deploy" still fail, even tho I can build the system https://paste.debian.net/1236655/
<torm84>How to install guix not grom ci.guix.gnu.org?
<sneek>torm84, you have 2 messages!
<sneek>torm84, maximed says: translation happens at https://translate.fedoraproject.org/projects/guix/
<sneek>torm84, maximed says: Alternatively, you could modify the .po in po/doc/ directly
<unmatched-paren>bricewge: i've never used `guix deploy`, i'm afraid :/
<Haider>neither, seems interesting though.
<suseJdoG>Guys, can you help me with sorting this build failure:                  "checking for GNUnet util library in /gnu/store/hvwz08iwmi76d883gzq0xnz3x6fxkj1k-gnunet-0.16.3/include/... checking for gnunet/gnunet_util_lib.h... no"       Path is fine, files are there. It is declared this way https://paste.debian.net/1236659 For some reason it
<suseJdoG>does not find the files.
<Ox151>does anyone manage any power managment programs for laptops? i tried powertop and tlp, but it seems the configuration files are not where they should be and wasnt sure how to fix that since guix changes some things from the default config paths and still learning.
<Ox151>does anyone use**
<tissevert>hi guix
<maximed>Does someone know some graphical (or TUI) software for making graphs (as in, cyclic graphs or acyclic graphs, not function plots)?
<maximed> torm84: instead of ci.guix.gnu.org, you can use substitutes from bordeaux.guix.gnu.org
<maximed>Though I guess you are asking for something else, but I'm not sure what exactly
<maximed>Random tip of the day: the graphviz tools allow Unicode characters in node names, even ⊤ (the symbol ‘top’, not the uppercase letter T).
<maximed>Looks like manually writing .dot is less tedious than expected.
<maximed>(.dot = a format used by graphviz, which is software for drawing graphs)
<torm84>maximed: I don`t know how to use bordeaux.guix.gnu.org instead ci.guix.gnu.org on installation time. In what step i should change this settings?
<gnoo>maybe: guix system init .... --substitute-urls='https;//bordeaux.guix.gnu.org'
<maximed>torm84: Maybe the graphical (TUI) installer has a menu for choosing the substitute servers to use?
<maximed>Or maybe that has not been implemented yet.
<maximed>The specifics depend a lot on the installation method used.
<tschilptschilp23>suseJdoG: not exactly what you're asking for, but yesterday's ~guix pull~ brought gnunet-16.3!
<tschilptschilp23>* gnunet-0.16.3
<Ox151>if I wnat to specifically set my linux version in my config.scm would i add to the packages (specification->package "linux-libre@5.15.32") because I tried that and it just choose the latest kernel version
<suseJdoG>tschilptschilp23 Yes. But did you manage to build it? It fails unless you remove the check phase. gnunet-gtk fails as it cannot find the headers from gnunet itself.
<maximed>Ox151: it needs to be added to the 'kernel' field I think, not the 'packages' field
<tschilptschilp23>suseJdoG: I just tried ~guix shell -D gnunet~ and used it from there -- it actually did not build anything as substitutes are ready on guix 8a208df17! do you have a recent guix (gnunet in the new version just seems to have come in yesterday)?
<suseJdoG>@tsch
<suseJdoG>tschilptschilp23 Yes, pulled today. 0.16.3.
<Ox151>maximed: sorry for my ignorance but something like (kernel (specification->package "linux-libre@5.15.32"))
<tschilptschilp23>suseJdoG: how are you building it? I just did ~guix build gnunet~ and it just points to the location in the store (so I assume it's done already). I also did not notice any compiliation steps during what guix pulled when issuing guix shell, so I just seem to have received a 'use-ready' substitute... what does ~guix weather gnunet~ show? Maybe you are on a newer pull than me and it's not ready yet!
<tschilptschilp23>here for guix 8a208df17 it seems ready on ci.guix.gnu.org, but not on bordeaux.guix.gnu.org...
<suseJdoG>I have modified package definition in my config.scm. According to the manual some helper programs needs to be suid/guid. That's why config.scm.
<tschilptschilp23>ah, sorry. I thought it's just about installing it!
<suseJdoG>@tsch
<tschilptschilp23>seems to do OK from unpriviledged userland though...
<suseJdoG>tschilptschilp23 No, I want to use it. You want to use it too...
<suseJdoG>tschilptschilp23 Yes. It can work. suid is for extra security I belive on per-user setup.
<suseJdoG>tschilptschilp23 it does install with guix shell -D gnunet-gtk but not with guix build gnunet-gtk --with-latest=gnunet-gtk
<suseJdoG>tschilptschilp23 I am after gnunet-gtk as I have gnunet running.
<tschilptschilp23>Right, the latter fails for me as well...
<suseJdoG>tschilptschilp23 Check my mods in config.scm https://paste.debian.net/1236678
<suseJdoG>Any comments are welcome. I am just a carpenter on a hitchhiking tour for freedom.
<tschilptschilp23>Being more of a lazy glue-the-done-stuff-together person, I just wanted to issue a conservative 'why not just use the gnunet-gtk' that's here already... But having run ~guix shell -D gnunet-gtk~ I noticed that I actually do NOT receive a GUI doing this. So I get your point on handcrafting!
<suseJdoG>tschilptschilp23 Yes, while you can run in shell apps like gnunet-peerinfo-gtk, there is no data in/connection with the services or something. I just don't understand why it cannot find the headers when configuring with my definition and guix system reconfigure.
<jpoiret>suseJdoG: the suid helpers are not there for extra security
<jpoiret>i believe they're there for nat discovery and the like, which would need to touch privileged ports among others
<jpoiret>on the contrary, suid helpers are almost always added attack surface, which is why they're often as small as possible
<tschilptschilp23>here things are very weird atm -- running ~guix shell -D gnunet-gtk~ just provides me with a bare gnunet (no-gtk), right now I ran ~guix shell -D gnunet~ and it just loaded a serious amount of qt, so I thought there might be a labelling-mixup. But, in this shell session I do not even receive a ~gnunet-arm~ executable. Does not feel very right.
<tschilptschilp23>but the bare gnunet-arm from gnunet-gtk seems to work OK, and to be on version 0.16.3
<jpoiret>tschilptschilp23: `-D` asks for the development environment, eg, a profile with the inputs of the following package, not the package itself!
<jpoiret>this is the difference with `guix environment`, where by default it gave you a dev environment, and you had to use --ad-hoc to get actual specific packages
<suseJdoG>jpoiret Yes, you are right. It is gnunet user, gnunet and gnunetdns group i think.
<tschilptschilp23>jpoiret: thanks, I thought it would bring all of it
<tschilptschilp23>right, and guix shell gnunet-gtk now properly fails ;)
<tschilptschilp23>and guix shell gnunet does what I'd expect.
<suseJdoG>If someone could remove the check phase in the gnunet definition it would most probably build.
<tschilptschilp23>here it's the configure phase already, I don't even come close to the check phase!
<jpoiret>was gnunet-gtk updated along with gnunet? (or is it necessary)
<suseJdoG>tschilptschilp23 Dependencies? I have all of them in my config.scm...
<tschilptschilp23> http://paste.debian.net/1236683
<suseJdoG>tschilptschilp23 My dependencies declared in the config.scm https://paste.debian.net/1236684
<suseJdoG>I didn't try to declare these in the package definition
<suseJdoG>Few more years and I may know what I am doing... :')
<suseJdoG>      "--with-gnunet=/gnu/store/7hbk1a4f59zzp9rfav8xmxcfczb995s1-gnunet-0.16.3/" gives me:
<suseJdoG>checking for GNUnet util library in /gnu/store/7hbk1a4f59zzp9rfav8xmxcfczb995s1-gnunet-0.16.3... checking for gnunet/gnunet_util_lib.h... no
<tschilptschilp23>yes, same here (in the paste above)
<tschilptschilp23>it seems to find everything except these two header files
<suseJdoG>It is the configure.ac where devil sits
<suseJdoG>If I could only use my hammer...
<tschilptschilp23>lucifer, sun of the morning ;)
<suseJdoG>tschilptschilp23 I have nothing to. As long he does not touch the children. But he did...
<suseJdoG>Now they make us guilty for driving the cars to do the jobs for them and punish with a ban on meat. CO2 is a gas of life, not a toxin.
<tschilptschilp23> http://paste.debian.net/1236687 devil seems close ;)
<wdkrnls>Dear guix, I am getting a zlib stream error when I try to run 'guix pull' as root.
<mekeor[m]>wdkrnls: can you post the error please?
<wdkrnls>hmm... I guess it's having trouble with one of my extra channels
<tschilptschilp23>mhm, gnunet-gtk still seems to use the old inputs syntax, might this be an issue?
<maximed>suseJdog: #guix has people of multiple genders, so ‘guys’ seems overly specific here
<maximed>suseJdoG: CO2 could indeed, as you write, be named a ‘gas of life’, if you are referring to photosynthesis and the greenhouse effect. I don't see how that stops it from being a toxin (in a metaphorical sense), given that too much CO2 (or FWIW certain other gasses too) leads to too much greenhouse effects leads to problems.
<jpoiret>tschilptschilp23: it should not
<maximed>suseJdoG: Your message about guilt seems a bit ambigious -- who is ‘they’ here (existing laws, proposed laws, ...) and what's ‘guilty’ here (accused, possibility of being accused, convicted)?
<ajarara>inferiors came in handy today. Thanks guix.
<viivien>Has anyone tried to package nextcloud?
<suseJdoG>tschilptschilp23 1. You can have 4000ppm concentration indoors (10x higher than outdoors) and be still alive. 2. Without it, there would be no life on earth. 3. Earth is actually greener thanks to.
***alMalsamo is now known as littlebobeep
<suseJdoG>maximed They are called with different names, elite, mr. global, and the predator class. Law is an illusion, captured and commercialised as governments are. You don't find out untill you try to get the justice. I've never got it. Lawyers are working for the courts not for clients. Without these they are jobless. Police too, without the crime they
<suseJdoG>sit at home. Same for the medical services, without the ill they have no jobs. That's why they are poisoning us. With s*** food, fluoride in water and injections. Rothschild's shool of medicine is a fraud. The truth is that health is all in the diet and environment. Cars? We don't need them. They need us to drive to work. We are programed to even
<suseJdoG>pay for. And belive it's right.
<tschilptschilp23>Can anyone tell me, how I actually map the packages in use in my ~guix shell~ environment to those in the store?
<civodul>tschilptschilp23: hi! in the shell spawned by 'guix shell', you can run "ls -l $GUIX_ENVIRONMENT" to view the store file names
<atka>sneek: botsnack
<sneek>:)
<tschilptschilp23>civodul: perfect, thanks!
<suseJdoG>Did you know that there was a "pandemic" every 100 years? What a coincident...
<civodul>suseJdoG: please take that out of this channel
<wdkrnls>Dear guix, do you 'sudo guix system reconfigure' or just 'guix system reconfigure'?
<wdkrnls>I think I had in the past used sudo, but it was a pain to manage the root environment.
<civodul>wdkrnls: the former; the latter wouldn't be able to change the system, install GRUB, etc.
<suseJdoG>civodul apologies for a bit of off topic facts
<wdkrnls>civodul: okay, great. thanks
<lilyp>Those are not facts, though.
<suseJdoG>wdkrnls I think you need sudo -i guix system reconfigure for it to have a global effect
<lilyp>For instance, the Spanish flu was just 30 years after another pandemic.
<lilyp>Also remember AIDS?
<lilyp>Even if we were to call them 'factoids', your conclusions would not follow.
<suseJdoG>lilyp sorry, I cannot comment on that. Already some got iritated...
<lilyp>"Diet and environment" are also only enough to stop those if by environment you mean China-style lockdowns.
<lilyp>Which would be recommendable, but don't forget Starbucks profits :)
<suseJdoG>lilyp Environment as where we exist, not where they lock us.
<lilyp>If you live in a secluded cave (don't know how that wouldn't constitute a lock, but whatever), then you might avoid getting infected, but I'll think you'll find that there are other problems attached to that.
<lilyp>But even if you do, viruses still exist and without the jab you run a risk of contracting them.
<civodul>lilyp: it's really off-topic though
<tschilptschilp23>Is it possible to spawn a 'guix shell' with the development prerequisites just for a few packages listed after the command. Like '-D' just for a few?
<lilyp>not easily, but with sed you could add -D in front of a few lines (coming from a file, perhaps)
<lilyp>for anything beyond that, don't forget that you can use manifests which you can create with arbitrary Scheme code
<tschilptschilp23>actually 'guix shell PACKAGE1 PACKAGE2 -D PACKAGE3' did something, let's see ;)
<tschilptschilp23>lilyp: thanks, what I wrote above did something indeed, but not really what I need...
<morganw>Hello. Could I ask a quick question... If a package has a runtime dependency on another package would I have to add the dependency as a propagated-input, to put the package in the profile, to stop it being garbage collected from the store?
<bricewge>Did someone managed to switch system generation between a profile with boot-parameters version 1 to boot-parameters version 0?
<bricewge>I'm stuck in my newest generations https://paste.debian.net/1236694/
<civodul>bricewge: ouch; could you email bug-guix, also showing the output of "guix describe"?
<civodul>i guess what matters here is whether the "guix" command you used here understands version 1 or not
<civodul>morganw: hi! no, you don't need to do that: the GC automatically determines run-time dependencies
<morganw>civodul: Thanks. How can it know the dependency if I don't declare it anywhere?
<bricewge>ciboule: I have a lot of backlog patches, I hope the issue dont come from them. That's why I was asking if someone can reproduce it. Switching from a profile with v1 to v0 boot parameters
<bricewge>before reporting this
<morganw>Here is the package definition that I'm testing with, if that clarifies anything: http://0x0.st/ob-E.scm The build process sets an awk interpreter path so in order for the build result to run that interpreter needs to be present. gawk happens to already be present during the build process.
<maximed>morganw: (about gc) When a package is built, the daemon scans the output for /gnu/store/... references and records them, then during GC, it uses this information to determine which depends on what
<maximed>Propagation is an orthogonal mechanism.
<maximed>Caveat: sometimes references are obfuscated (e.g. by compression) and can therefore be ‘lost’. There was (is?) a bug with e.g. Racket
<maximed>morganw: if not done automatically by patch-source-shebangs, maybe add a substitute* to bake in the awk file name?
<morganw>Thanks! For my case it sounds like I don't need to do anything then. Out of curiosity, is there a way to manually declare the equivalent for something that is compressed?
<maximed>FWIW, ‘MIT license’ can technically refer to multiple things, for 100% clarity ‘Expat license’ is recommended
<maximed>Though in practice it seems to be almost always the Expat license
<morganw>The build process itself does insert the store path for gawk.
<morganw>For the license, do you mean in the original source of the packaging?
<morganw>*or the
<maximed>morganw: Yes, since the IRC nick seems to match the author name in the source
<maximed>--- I mean, the upstream sourcee
<maximed>on https://github.com/morganwillcock/dram
<morganw>It is mine, yes.
<maximed>Changing it is not a requirement for packaging, just a recommendation.
<maximed>At least, that's what https://www.gnu.org/licenses/license-list.html#Expat recommends.
<Kolev>You're going to kill me, but I use Ansible on a foreign distro to install my Guix environment.
*atka gets pitchfork ready
<maximed>Kolev: there is no secret Guix police that will hunt you down for using non-Guix tools
<atka>well they wouldn't be secret if everyone knew about them...
<maximed>Whatever works for you 😺
<morganw>Is there a trick to get Geiser showing Guix specific doc strings and completion? I've started with Guix SD and I've installed the emacs-guix mode but I'm unsure on how to get the current Guix checkout in the Guile load path (I think that is what is needed?).
<maximed>morganw: This is not related to your question, but it's named Guix System now, GuixSD is its old name.
<maximed>(I don't know the answer, I almost never use Geiser and never on a Guix checkout)
<morganw>I haven't explicitly checked it out, which might be the problem. I only have it from the initial setup and I think the path changes when I run `guix pull`