IRC channel logs
2024-08-08.log
back to list of logs
<nigko>jaft_r: It is very strange. I have installed a fresh Guix System with a very basic configuration in a virtual machine, added https://gitlab.com/anigko/test-channel.git to channels.scm and obtained exectly the same error for 'guix build test-repo': No such file or directory "content". <nigko>jaft_r: In the virtual mashine guix channel is pinned to commit "9a2ddcc". May be your machine is at older guix commit which does not have this bug. <jaft_r>nigko: Hmm; weird, indeed. No; I have a script which runs every 4 hours and pulls to tell me if there're any updates. I'm on commit 7bf1d7aeaf, the latest one. <Rutherther>nigko how did you add this to your channels.scm? Did you make sure to not share the host store with the VM? Or did you try guix gc with options to verify the store and its contents? <Rutherther>nigko okay, if you've downloaded the ISO then there should be nothing possibly corrupted from your store <nigko>Rutherther: I have performed 'guix gc --verify=contents' and 'sudo guix gc --verify=repair' on both VM and host Guix System whithout any error. <cnx>somehow i got my base commit newer than the infra's <fnat>Is there any standard way to serialise to YAML in a Guix service or Guix Home service? E.g. if the app one wants to start expects a YAML configuration file. <carpa>I recently moved to guix and am now trying to make my first package for a <carpa>programming language I use that is not packaged. <carpa>To build the language, after obtaining the sources through git, a shell script <carpa>I'm a bit lost on how to make this happen with the build systems. <carpa>In the docs I don't see a build system that runs a single shell script, so I'm <carpa>guessing I need to pass by `trivial-build-system` and have some scheme <futurile>cnx: a lot of people are away on holiday - if you want QA to rerun it I would just reroll your patch again and send it - the reroll with a new version will trigger QA to run it again (eventually) <fnat>futurile: Hey, thanks! That's interesting, I might give it a try. <fnat>I've put together this simple Guix Home service that writes a YAML configuration file for an app (Beets, a music metadata retriever and file manager). <fnat>For now, the service configuration expects just a field or two (the bare minimum), all the other config options can be passed as extra values in a long YAML string. <fnat>It works, but not exactly aesthetically pleasant. <fnat>Perhaps the Guile YAML library might help serialising from a more Scheme-y format instead of using a long string. <fnat>On a different note, I have a server where I've just introduced Guix Home and 'guix-home-service-type' for one of the users. If I now log as that user, I get a complaint re 'warning: XDG_RUNTIME_DIR doesn't exists'. <fnat>I suppose I can manually create '/run/user/1000' and assign correct permissions/ownership, but I was wondering if there's a more declarative way. <fnat>Am I missing any service in my user's home environment? <f1refly>is there a list of recommended hardware I can use with linux-libre? I'm currently in the market for a gigabit ethernet usb dongle but I'm unsure what to get. The only thing I'm sure is supported is TPE-1000NET3 and I don't think I can buy it anywhere near me.. <faust700>screen sharing is not working, on chrome wayland i got this output <faust700>11182:11182:0808/151909.381871:ERROR:screen_capture_portal_interface.cc(48)] Failed to request session: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop <faust700>[11182:11182:0808/151909.381886:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 3 <faust700>[11182:11182:0808/151916.866099:ERROR:screen_capture_portal_interface.cc(48)] Failed to request session: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop <fnat>ACTION facepalms themselves for not reading the manual carefully. <Altadil>faust700: I think you need xdg-desktop-portal for screesharing. <faust700>Do any one know how to start xdg-desktop-portal-wlr ? <faust700>Rutherther: how i can check is xdg portal started? <Altadil>Hello everyone. Does anyone have a pointer to how to configure git for the cuirass user? I’m getting git errors (repository path is not owned by current user) and that in turn prevents cuirass from launching any job. Searching the Web gave a fix, but it has to go in the git config file for the cuirass user. :/ <fnat>A guix deploy fails after adding elogind to my configuration. The remote system becomes unreachable. Logging in on a console is also not an option, as the user gets logged out immediately. A reboot fixes things though. <fnat>Looking at the logs I see mentions of 'pam_open_session: Error in service module' and 'policy plugin failed session initialization'. <fnat>Any idea what the problem could be here? <faust700>Do any one know how to run xdg-desktop-portal and how i can ensure is it runing? <nigko>or directory 'content'" when trying run 'guix build test-channel'. It turns out that the reason for this error is the wrong source checkout used for building the package. This can be seen by lowering source object of test-channel in 'guix repl': <nigko>(define src (package-source test-repo)) <nigko>which produces /gnu/store/nzjyc...-test-repo-checkout path in the store. The problem with this path is that it does not contain the source of the package (i.e. the content of the repository root directory), but instead the content of the ~/.config/guix/current/share/guile path. I do not know why. <nigko>* 'guix build test-repo' (not 'guix build test-channel') <nigko>It is important that building test-repo package in 'guix repl' is a way to reliably reproduce the bug <nigko>in contrast to 'guix build test-repo' command which does not always fail: <faust700>Do any one know how to run xdg-desktop-portal and how i can ensure is it runing? <cow_2001>`guix shell kdenlive -- kdenlive` crashes with "QPaintDevice: Cannot destroy paint device that is being painted". it's a side installation on a flavour of debian <faust700>Do any one know, how to run xdg-desktop-portal? i use sway wm <Rutherther>please don't spam the same question over and over again <vagrantc>*sigh* new test suite failures on Debian build guix with no in-guix code changes. <vagrantc>some of the tests/style.scm are apparently removing some whitespace ... <Rutherther>I would like to use "let" inside of package to assign a list of package into a variable. I then want to use this variable at two places - native inputs, and under phases for wrap-program. I called this variable "wrap-paths". I have a let block inside of a new phase I made. When I build it, I get "unbound variable: wrap-paths". I was thinking this could be because daemon doesn't have this variable, so I tried unquoting it, having ",wrap-paths". But... <Rutherther>... this unquoted it as something like (#<package ..>), and it's erroring that it doesn't know this construct on evaluation.