IRC channel logs

2020-10-11.log

back to list of logs

***jonsger1 is now known as jonsger
<peanutbutterandc>How does one define a 'tuple' in guile?
<libfud>depending on what you want to do I think a list will probably suffice
<chrislck>or vector
<chrislck>or cons
<peanutbutterandc>it's for guix. packages->manifest
<peanutbutterandc>and it takes: 'package/string tuples denoting a specific output of a package'
<peanutbutterandc>i'll give cons and vectors a shot
<peanutbutterandc>list, sadly didn't suffice
<libfud>oh
<libfud>can you link to the page where you see that?
<libfud>it might be talking about a dotted pair
<peanutbutterandc>if you have guix installed, $ guix repl
<libfud>probably something like (cons 'package-name 'package-output) but I'm not sure what it means exactly
<libfud>I don't, it's something I've been meaning to try
<peanutbutterandc>..... oh.... hmmm... okay.... i'll try it out
<peanutbutterandc>It's been saying this:
<peanutbutterandc>guix/inferior.scm:352:18: In procedure inferior-package-field:
<peanutbutterandc>In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): (glib . "doc")
<libfud>just throwing this out there, but there is a #guix channel on irc as well
<peanutbutterandc>libfud, Yes, somebody is answering there too. I asked here too because I'm running out of battery.
<peanutbutterandc>But thank you for your help (:
<libfud>np
<libfud>my guess for the wrong type argument is that you're passing the wrong argument into that tuple
<libfud>idk though
<peanutbutterandc>I'm a relative beginner so it must be some minor error on my part, yes. let's see...
<libfud>is there some guide you're following? I'm guessing you're trying to contribute a package
<peanutbutterandc>No, for now, I'm just trying to set up a dev env to learn some gtk. guix makes setting up dev envs a breeze. I think you'd love it too
<libfud>peanutbutterandc: it's been on my to-try list for a while but I'm swamped with work and I have another personal project i'm working on in the off-hours I have when I feel like programming
<libfud>also I prefer Qt to gtk
<peanutbutterandc>libfud, Hmmm.... I see. Perhaps once you do start using guix, you'd love how easy it is to set up a qt dev env using a mere `guix environment --ad-hoc qt and other packages here`
***daviid is now known as Guest18314
***Guest18314 is now known as daviid
***apteryx_ is now known as apteryx
***daviid is now known as Guest77014
***Guest77014 is now known as daviid
***daviid is now known as Guest73783
***Guest73783 is now known as daviid