Problems with tracker-miners(?)
Hey Guix, Please forgive my ignorance here. I am not fully with it in terms of how GNOME works. It seems to me that many aspects of GNOME are just broken since the day I installed it with my Guix System. More specifically, those that might be related to tracker-miners. A few immediate examples are gnome-music, totem and gnome-photos. None of these are able to find/use my media. A different, probably unrelated issue is that Nautilus doesn't show any thumbnails. In terms of configuration I am using the following services and packages on the system level: - (define gnome-extras (list gnome-tweaks gnome-shell-extensions peek seahorse)) (packages (append (list docker-compose light nss-certs sbcl stumpwm+slynk xsecurelock emacs) gnome-extras %base-packages)) (services (modify-services (append (list (service gnome-desktop-service-type) (service gnome-keyring-service-type) (service docker-service-type) (service cups-service-type (cups-configuration (web-interface? #t) (extensions (list hplip cups-filters foomatic-filters)) (default-paper-size "Letter"))) (bluetooth-service) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (udev-rules-service 'light light)) %desktop-services) (guix-service-type config => (guix-configuration (inherit config) (substitute-urls (append (list "https://substitutes.nonguix.org";) %default-substitute-urls)) (authorized-keys (append (list (local-file "./nongnu.pub")) %default-authorized-guix-keys)) - Any suggestions are appreciated. Thank you all -- Trev : 0FB7 D06B 4A2A F07E AD5B 1169 183B 6306 8AA1 D206
wlroots update - new repo
Hi Guix, guix' wlroots is pretty old (0.14.1 compared to the newest version 0.15.1). I have several packages (tools, compositors) that require a newer version or at least profit from it. Maybe it's relevant that they switched repo to https://gitlab.freedesktop.org/wlroots/wlroots/ , and so "guix refresh" doesn't find the new versions ? ;) I would also want to encourage opening new modules for wayland compositors and/or tooling. I just think it's more clean then appending them to "gnu/packages/wm.scm" Kind regards, florhizome
wlroots update - new repo
Hi Guix, guix' wlroots is pretty old (0.14.1 compared to the newest version 0.15.1). I have several packages (tools, compositors) that require a newer version or at least profit from it. Maybe it's relevant that they switched repo to https://gitlab.freedesktop.org/wlroots/wlroots/ , and so "guix refresh" doesn't find the new versions ? ;) I would also want to encourage opening new modules for wayland compositors and/or tooling. I just think it's more clean then appending them to "gnu/packages/wm.scm" Kind regards, florhizome
Re: How to package nyxt plugins?
Hi, Currently Nyxt 2.2.4 packaged for Guix uses the gnu-build-system, which does _not_ expose the Nyxt "systems" to ASDF. To fix this, we should switch to the asdf-build-system, which would require only a few changes to the recipe. Then the nx-router recipe could be written like any other SBCL packages, with `nyxt` as input. Hope this helps! Pierre signature.asc Description: PGP signature
installing mitmproxy with Guix
Hello, I just finished making my first working package definition (acutally, a set of definitions...) for Guix. It's for mitmproxy, a popular TLS-enabled proxy for observing and modifying HTTP(s) traffic, written in Python. I wanted to share this with others. The package module file is attached - I'm making it available to everyone under Creative Commons Zero as indicated by the SPDX identifier in the file. I suspect I could instead make the changes in Guix' repo, make a commit, generate a patch from git and send it to guix-patc...@gnu.org, but - as you'll see, the package forced update of inputs of several existing packages and my current solution seems too imperfect to be included (even though it works), - it's my first attempt at Guix packaging and there'll likely be some other issues that need resolving - preparing and submitting a patch is simply more time-consuming than sending a .scm file 😅 - maybe I'm just unconsciously seeking integration with people? Nevertheless, what do you think would be the best way to address the conflict of propagated inputs (in this case caused by python-cryptography and python-cryptography-next being required at the same time)? Best, Wojtek -- (sig_start) website: https://koszko.org/koszko.html PGP: https://koszko.org/key.gpg fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A Meet Kraków saints! #13: blessed Jan Beyzym Poznaj świętych krakowskich! #13: błogosławiony Jan Beyzym https://pl.wikipedia.org/wiki/Jan_Beyzym -- (sig_end) ;; SPDX-License-Identifier: CC0-1.0 ;; Copyright (C) 2022 Wojtek Kosior (define-module (mitmproxy)) (use-modules (guix packages) (guix download) (guix git-download) (guix build-system python) ((guix licenses) #:prefix license:) (gnu packages python-build) (gnu packages python-xyz) (gnu packages python-crypto) (gnu packages compression) (gnu packages python-compression) (gnu packages xdisorg) (gnu packages serialization) (gnu packages protobuf) (gnu packages python-web) (gnu packages check) (gnu packages sphinx)) (define-public python-kaitaistruct (package (name "python-kaitaistruct") (version "0.10") (source (origin (method url-fetch) (uri (pypi-uri "kaitaistruct" version)) (sha256 (base32 "0ap5ka51gnc2mc4s1kqqsi6nb6zqv8wsrg17ryxazmkkj7idwi50" (build-system python-build-system) (home-page "https://kaitai.io";) (native-inputs (list python-wheel)) (synopsis "Declarative parser generator for binary data: runtime library for Python") (description "Kaitai Struct is a declarative language used for describing various binary data structures, laid out in files or in memory - i.e. binary file formats, network stream packet formats, etc.") (license license:expat))) (define-public python-parver (package (name "python-parver") (version "0.3.1") (source (origin (method url-fetch) (uri (pypi-uri "parver" version)) (sha256 (base32 "1lyzqp8bz0n2kzabzl7k7g7cn90rlnrxjzva2p62gsfc7djy00n9" (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'relax-requirements (lambda _ (substitute* "setup.py" (("arpeggio[^']*") "arpeggio" (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest"))) (propagated-inputs (list python-arpeggio python-attrs python-six)) (native-inputs (list python-hypothesis python-pretend python-pytest)) (home-page "https://github.com/RazerM/parver";) (synopsis "Parse and manipulate version numbers.") (description "Parver facilitates parsing and manipulation of @url{https://www.python.org/dev/peps/pep-0440/,PEP 440} version numbers.") (license license:expat))) (define-public python-pyopenssl-for-mitmproxy (let ((base python-pyopenssl)) (package (inherit base) (version "22.0.0") (source (origin (inherit (package-source base)) (uri (pypi-uri "pyOpenSSL" version)) (sha256 (base32 "1gzihw09sqi71lwx97c69hab7w4rbnl6hhfrl6za3i5a4la1n2v6" (propagated-inputs (modify-inputs (package-propagated-inputs base) (replace "python-cryptography" python-cryptography-next)) (define-public python-urllib3-for-mitmproxy (let ((base python-urllib3)) (package (inherit base) (propagated-inputs (modify-inputs (package-propagated-inputs base) (replace "python-cryptography" python-cryptography-next) (replace "python-pyopenssl" python-pyopenssl-for-mitmproxy)) (define-public python-requests-for-mitmproxy (let ((base python-requests)) (package (inherit base) (propagated-inputs (modify-inputs (package-propagated-inputs base)
9pfs declaration
I currently have guix running inside qemu, and am trying to mount a shared 9p filesystem on boot. When I try using the mount tag in the file-system device declaration, it throws an error. I saw that in gun/system/vm.scm, they are using a file-system->mount_tag declaration, but I can’t figure out how to make that work with my system conf. Any ideas?
9pfs declaration
I currently have guix running inside qemu, and am trying to mount a shared 9p filesystem on boot. When I try using the mount tag in the file-system device declaration, it throws an error. I saw that in gun/system/vm.scm, they are using a file-system->mount_tag declaration, but I can’t figure out how to make that work with my system conf. Any ideas?
Re: mcron <3 offlineimap
Hi, zimoun [2022-09-21T10:31:45+0200]: > On Sat, 27 Aug 2022 at 10:45, jgart wrote: > >> has anyone tried running offlineimap on a(n) (m)cron? > > No. And I switched from offlineimap to isync (mbsync) for some parts. > And to public-inbox (so Git) for other parts. Same thing here (sans public-inbox). I also found that isync was considerably faster than offlineimap. Two years ago I had the impression that offlineimap was in the process of being abandoned, due in particular to the side note from the maintainer here: http://www.offlineimap.org/ . However, when I check various Git repos today, it seems that offlineimap is still quite alive and kicking. - Sergiu
Re: tor
Hi Denis, I added the libvirt-service-type in my config.scm (service libvirt-service-type (libvirt-configuration (unix-sock-group "libvirt") (tls-port "16555"))) -- (services (append (list (service mate-desktop-service-type) (service enlightenment-desktop-service-type) (service cups-service-type (cups-configuration (web-interface? #t) (extensions (list cups-filters hplip (service openssh-service-type) (service tor-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (service libvirt-service-type (libvirt-configuration (unix-sock-group "libvirt") (tls-port "16555" (modify-services %desktop-services (guix-service-type - and doing a: sudo guix system reconfigure /etc/config.scm it gave me this message: Backtrace: 18 (primitive-load "/home/gfp/.config/guix/current/bin/guix") In guix/ui.scm: 2263:7 17 (run-guix . _) 2226:10 16 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) In guix/status.scm: 835:3 14 (_) 815:4 13 (call-with-status-report _ _) In guix/scripts/system.scm: 1276:4 12 (_) In ice-9/boot-9.scm: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 656:37 10 (thunk) 1295:8 9 (call-with-build-handler # …) 2165:25 8 (run-with-store # …) In guix/scripts/system.scm: 842:2 7 (_ _) 719:8 6 (_ #) In gnu/system.scm: 1276:19 5 (operating-system-derivation _) 796:11 4 (operating-system-services #< kernel:…>) 830:20 3 (services _) In /etc/config.scm: 38:21 2 (services #< kernel: #) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Fehler/mistake: libvirt-service-type: Nicht gebundene Variable/unbound variable Where are the problems? thanks for help Gottfried Am 02.09.22 um 20:31 schrieb Gottfried: Hi Denis, Before I am changing something, I prefer to ask in order to make not mistakes. To make virt-manager (and probably gnome-boxes) work you also need to add something like this in your service list in the system.scm: (service libvirt-service-type (libvirt-configuration)) In the manual it says: (service libvirt-service-type (libvirt-configuration  (unix-sock-group "libvirt")  (tls-port "16555"))) I installed "virt-manager". Now I have to add it to my config.scm file. The question is where and what? I would add it as the last of services: (services    (append  (list (service mate-desktop-service-type)    (service enlightenment-desktop-service-type)    (service cups-service-type    (cups-configuration    (web-interface? #t)    (extensions (list cups-filters hplip    (service openssh-service-type)    (service tor-service-type)    (set-xorg-configuration  (xorg-configuration    (keyboard-layout keyboard-layout    (service libvirt-service-type (libvirt-configuration Now the question would be where go the brackets and if I have to add something to the 2 lines?  (modify-services %desktop-services    (guix-service-type   config => (guix-configuration (inherit config) (extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"    (sane-service-type _ => sane-backends Am 01.09.22 um 15:59 schrieb Denis 'GNUtoo' Carikli: On Wed, 31 Aug 2022 18:23:54 +0200 Denis 'GNUtoo' Carikli wrote: Yet another way would be to use a virtual machine software like gnome-boxes or virt-manager to install another GNU/Linux distribution inside and use the tor-browser in that. To make virt-manager (and probably gnome-boxes) work you also need to add something like this in your service list in the system.scm: (service libvirt-service-type  (libvirt-configuration)) Denis. OpenPGP_0x61FAF349C9FB7F94.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature
Re: mcron <3 offlineimap
Hi, On Sat, 27 Aug 2022 at 10:45, jgart wrote: > has anyone tried running offlineimap on a(n) (m)cron? No. And I switched from offlineimap to isync (mbsync) for some parts. And to public-inbox (so Git) for other parts. Cheers, simon