<rekado_>I’m not sure… I assumed the gnu-build-system would pass it when a “debug” output exists (like it handles the debug link files).
<rekahsoft>Hi all, how can I build a package from the guix repl?
<rekahsoft>I am attempting to debug an issue where when I run a build of a package I run out of memory (possibly due to a circular dependency?)
<rekahsoft>I can't seem to get 'guix build -L $(pwd)/site -e '(use-modules (rekahsoft packages rust-xyz)) rust-autocfg' to work, which would be preferred to using the repl directly. The error I receive when I attempt the 'guix build ...' I mention is 'guix build: error: #<unspecified>: not something we can build'
<rekahsoft>However in a repl when I run (use-modules (rekahsoft packages rust-xyz)) rust-autocfg I see a package object literal
<rekahsoft>When I move the '(use-modules ...) ...' expression to a file I am able to build the package using 'guix build -L $(pwd)/site -f file.scm'. What am I missing here in regards to the usage of 'guix build -e ...'?
<terpri>rekahsoft, -e appears to only evaluate the first expression in the argument, maybe try -L ... -e '(@ (rekahsoft packages rust-xyz) rust-autocfg)' ?
<terpri>rekahsoft, are you by any chance using "guix import" for this rust package? because the crate importer often generates packages with dependency cycles
<apteryx>is there a way to access the list of just "inputs" (not native-inputs or propagated-inputs) inside a build phase?
<atw`>apteryx: is it `package-inputs' or am I missing something (guessing that because I see I've used package-propagated-inputs in the past)
<apteryx>atw`: I've seen this used on the package top level definition before, but not inside the build side (phases) code. I'm not sure how I can refer to the package own's native-inputs. All I've seen is (assoc-ref inputs "input-name"). It seems all the inputs categories are grouped together before being passed as "inputs" to the build system, so information is lost.
*apteryx is reading the gnu-build-system.scm module
<apteryx>what I want to achieve in the end is wrapping a program with only its inputs (without native-inputs or propagated-inputs)
<atw`>ah, I understand now. yeah, I've seen much the same
<olivuser>Hello everyone. I am still struggling to get streaming to work (youtube and others, basically video playback online). I've tried several feature-packed browsers (epiphany, eolie, icecat), installed a bunch of codecs I believe to be related (ffmpeg, gstreamer, xvid) and then even did a reconfigure in order to have the codecs be part of the system and not only per-profile installation (I'm not sure if that makes sense, that's what I
<olivuser>reckoned). Does someone have an idea how to cope with the problem?
<apteryx>rekado_: the debug symbols are always produced by the gnu-build-system; but they are usually stripped away. This stripping is skipped when a "debug" output is present.
<olivuser>Also, is there a difference in effect when a program (could also be said codec) is installed system-wide versus being installed locally - that is, could it be the source of a problem like the one mentioned above, that a program to be installed (e.g. icecat) doesnt "see" the per-user codecs during install and hence doesnt "take them into account"?
<atw`>olivuser: hello! sorry to hear you've encountered some difficulties. I didn't respond before because I am not perfectly sure how to help fix the problem. What do you see when you try to play a youtube video?
<nckx>Does anyone know which package (?) civodul is using to elide store hashes in live shell output?
<olivuser>atw`: hej man thanks for your reply. thats a tad different in different browsers. In eolie/epiphany, I see preview icons and the preview, but upon opening the video nothing happens. In icecat, neither icons nor preview are shown (video titles with blank space). When I click on a video it follows the link but I can only see the youtube logo on top - that is it doesnt show even the window frame.
<olivuser>Also in case that matters: I'm using i3wm and havent yet experimented if it works when using gnome instead. Could that do the trick?
<atw`>olivuser: yeah, like I said, I'm not definitely sure what's up. However, I have youtube etc working in icecat. Icecat is installed in my user profile (not system-wide) and I did not have to manually install any video drivers. However, I did have to turn off LibreJS and some other extensions in icecat
<pkill9>hmm actually it works for me and i dont have them installed
<atw`>oh, and I am using spectrwm, so I do not think that i3 should pose a problem
<Swedneck>i'm also curious whether there are screenshots of the installer
<olivuser>atw`: eventually, I got it to work. I installed the bulk of gst-plugins. Also, I disabled the third-party request-blocker. Unfortunately I dont know if installing the plugins did the job or if it was only disabling the extension. Anyway, thanks, also pkill9 !
<Swedneck>is there a somewhat beginner-friendly way to learn to write a guix package?
<Swedneck>maybe some simple package definition i could read, at least
<atw`>Swedneck: there are a couple of resources on the topic. Might I ask a little about your background?
<Copenhagen_Bram>I've never booted it with EFI, and I'm not entirely sure what EFI is except I thought it was some kind of advanced proprietary bios that I wouldn't need to use settings for with Libreboot
<rekahsoft>Copenhagen_Bram: if you followed the efi instructions for guix it would have instructed you to use the efi grub package, which should have the grub efi loader..however does you BIOS support EFI?