<mekeor[m]>hello. what's the best way to customize a package (in scheme code) by changing configure-flags? in particular, i would like to install emacs-next-tree-sitter without the "--with-native-compilation" flag.
<coolguy>Hello, I've been experimenting with Guix and more specifically the pack option. I've been building a few packages and I was wondering whether or not the pack option generates static binaries.
<coolguy>From what I can tell, it does but only if the binaries are sitting under /bin.
<mekeor[m]>mekeor: you want this: (arguments (substitute-keyword-arguments (package-arguments foobar) ((#:configure-flags configure-flags)
<mekeor[m]>Guest52: there is this search engine for packages (and service etc) within many community-maintained channels: https://toys.whereis.xn--q9jyb4c . you can always search for a package there, if it's missing in guix proper.
<Guest52>mekeor[m]: Awesome! I found a zerotier package in nongnu with that tool. Thanks!
<guixcurious>would someone know offhand why i would be getting a message "duplicate 'sudoers' entry for /etc" upon running `guix system init` - I'm not seeing getting any results for this problem anywhere, not sure if its Guix specific or some order of operations issue on my end
<ulfvonbelow>so I guess that means I need to change the entire input list to the old style. How is this going to work once the old style is removed?
<ulfvonbelow>hmm, seems the friction I'm running into is because I'm just pulling certain phases out of python-build-system (package itself uses configure and make). Maybe it would be better to just include make as a dependency and use the python build system.
<ulfvonbelow>seems that if the python to use is passed as #:python in the arguments and python-build-system is used it'll automatically arrange to make the input label just "python"
<jpoiret>internally the new package inputs are converted to (list (package-name package) package), but this transformation is either applied to the whole input list or not applied, whereas it could be just applied to whatever elements are just packages
<mvnx>I need a go builder that supports modules. I need to learn Scheme first to help
<ardon>oriansj: Thanks for chiming in :) Could you share your exact setup? I feel like apart from setting the guile load paths, I'm missing something crucial that is not letting me use the modules in my local Guix checkout
<ardon>Guest10: I guess because most folks are already using Transmission. Feel free to submit a patch for it though
<pusherofbrooms>Ah, so the server seems to be maybe getting a TLS error from a dependent service. I see the tls error now.
<apteryx>phyto[m]: as secure as any Linux namespaced process (man 2 clone)
<phyto[m]>also, sorry if this is a stupid question (i'm new), but how can you let one program call another? pipe-viewer relies on mpv to play anything, but it can't call it because sh: line 1: /bin/mpv: No such file or directory
<apteryx>which is what Docker and other containerization technologies relies on, if I'm not mistaken
<apteryx>phyto[m]: is this pipe-viewer package in Guix already? if so, it should be patched to refer to (search-input-file inputs "bin/mpv") instead, with mpv added as in input
<cel7t>jpoiret: I'm still expecting that I'll run into a lot of road bumps while finishing it- especially while implementing generic transforms for converse parameters. For example, even with package rewriting it might be hard to rewrite a package to _not_ use X11 in a way that's applicable to a lot of packages
<apteryx>otherwise, to run a prebuilt binary that expects a file hierarchy standard layout, you could try the --emulate-fhs of the 'guix shell' command
<phyto[m]>yes pipe-viewer is packaged in guix (and mpv is installed both via guix and system package manager)
<phyto[m]>oop wait i'm dumb, it does define the packages that it needs - but mpv was just always set as the default video player so i never noticed that mpv just uses xdg-open
<sysfu>jackhill: So I tried that (sudo herd stop xorg-server) and got stuck with a blank screen and flashing cursor top left, no ability to switch to another vconsole via CTRL-ALT-F#, nothing. Had to poweroff and reboot.
<jackhill>sysfu: huh, odd. But switching worked before you did that?
<sysfu>jackhill: yes, I switch to other vconsoles without issue while xorg-server service is running. Appears the that GDM login screen is on vcon7, desktop on vcon8, vcon9 has that flashing cursor in upper left, and vcon12 looks like xorg log.
<jackhill>sysfu: ok, well, unfortunatly you're past my knowledge, sorry. Hopefully someone else can jump in.
<phyto[m]>oh my god i'm a moron, pipe-viewer has a hardcoded /bin/mpv path in its default config
<msavoritias>The manual says how to delete services in the system config
<sysfu>msavoritias: Will read up on that section, thank you.
<msavoritias>np. its under System config. Look for modify-services
<yuna>Hi, does anyone know if theres a good way to lookup where to find things in the package trees? Guix/Guile seem to have things very well sorted and so Im finding it hard to 'discover' the interface
<cel7t>What kinds of things? If you're looking for binaries (ex. what package provides the 'clear' command) use command-not-found.com
<efraim>sorry everyone for the broken commit, fixed now. I was testing on aarch64 and ppc64le
<yuna>@cel7t I mean like stuff in Guix's Guile interface. All the variou modules. I find I have to do some detective work every time to figure out what exactly I need to import
<yuna>So far Ive found I just end up going through the git repo. Im not sure its thats meant to be how we do it
<yuna>I guess what might be useful is if there is just documentation for the modules somewhere? Eg everything like (guix), (guix cpu), (guix x y x), etc etc etc
<lfam>Thanks for working on those tangled packages, efraim
<lilyp>rgrep works wonders, but guix itself can detect missing imports also some of the time (especially with packages9
<Guest42>Hi. I'm trying to package Fragments, but I'm getting the error that pango needs to be version >= 1.50 but 1.48 is installed. Even though I specify pango-1.90 as an input. I don't understand this, can someone please help me? https://paste.debian.net/1276439/