IRC channel logs
2024-06-06.log
back to list of logs
<mwette>lechner: My guess is the license from the header file used as source; you could probably just add a lone string in the .ffi file with the license: it will be copied to the output .scm file. <lechner->mwette / I added a standard copyright comment in the FFI file some time ago---the library is actually MIT or BSD, depending on Linux-PAM or OpenPAM---but it does not show up in the nyacc product https://bpa.st/4IBQ <mwette>you can submit a bug report to add something and i'll work it <old>lechner: Know that licenses in files are not mandatory for them to apply. I keep a LICENSES directory at the root of my projects with verbatim copies of licenses I used. I also keep a LICENSE file that stipulate which licenses applies for each file in the projet and that by default, it is GPL3. <old>You can do the same by saying something along: All yacc generated bindings are under X license <old>Note the statement: Every Scheme files are provided under the terms of the GNU Generic Public License v3.0 or later: <msavoritias>how do i use modules in guile? tried guix install guile-sdl2 but it still says no code for module (sdl2) <msavoritias>i have this with basically every package tried goblins too <msavoritias>do i need to modify path somehow? the tutorials dont mention anything <old>msavoritias: can you try the following command: guix shell guile guile-sdl2 -- guile -c '(use-modules (sdl2))' <old>it should print nothing or throw an exception if sdl2 not available to Guile <msavoritias>so it needs the full guile instead of the one included with guix <graywolf>Hello Guile people :) Is there any introspection API that would allow me to go from a record type <foo> to the list of field names? <sneek>graywolf, you have 1 message! <old>msavoritias: you need guile and its modules to be in the same profile I think. For example (to be confirmed), if Guile is installed from system profile but modules installed from home profile, I do not think your Guile will see the modules <old>That's my theory because whenever I do: guix shell guile-sdl2, I can not import the modules in my Guile coming from my home profile <old>That being said, a more thorough explanation will emerged from #guix <dthompson>old: it's because you didn't add 'guile' to your guix shell packages <dthompson>so guix isn't going to extend the guile load path