IRC channel logs


back to list of logs

<podiki[m]>anyone familiar with vdpau? mesa has drivers in lib/vdpau, but that maybe isn't standard? eg. vdpauinfo won't find them
<podiki[m]>no, I guess that is the typical directory, not sure how vdpau and such is supposed to find them though
<apteryx><unknown-location>: warning: possibly unbound variable `ungexp' -> a bit hard to figure where that comes from
***jesopo is now known as jess
<Cairn>Surprised browsh isn't packaged...
<jab>Cairn: browsh has javascript dependancies....
<jab>that would be hard to package....
<Cairn>Oh does it?
<Cairn>Well I guess it has a static-linked binary build as well. So I guess I can cheat a little bit.
<apteryx>did we have a module for process inspection?
<apteryx>such as checking what environment variables a process has
<jab>Cairn: if you get it to work, let me know
<Cairn>jab: The static binary works
<Cairn>But yeah, if I wanted to make a real package, the javascript issue comes into play
<jab>Cairn: do you like using it so far?
<Cairn>Well I'd already used it in the past. But yes! It's exactly what I need for a specific use case
<jab>does it work for more website than netsurf?
<jab>more websites*
<Cairn>It just reinterprets a headless firefox instance into the terminal. So it doesn't actually use its own backend
<Cairn>Although it's "licensed" software, in the sense that it has a small supporter message on the bottom right that you need either compile by yourself or donate in order to remove
<Cairn>Which is unfortunate, because recompiling is exactly what I can't do
<Cairn>I might just be trying to be too high-tech anyway. Nothing wrong with just using eww.
***unwired3 is now known as unwired
<apteryx>Users seeking a VNC server service might want to test:
<apteryx>pkill9: it also includes a 'auto-suspend?' config option to gdm-configuration that can be used to disable this behavior
<zamfofex>I think I figured out how to use ‘git send-email’! 😄 Hopefully I did things correctly.
<Guest3>how do I remove an item from a guile object, specifically I want to remove services from the %desktop-services obj, where would this be in be manuals?
<demotri>Guest3: (modify-services %desktop-services (delete avahi-service-type))
<abrenon>hi guix
<demotri>Guest3: search for "modify-services" in the manual, and you will find some examples for modifications and/or deletions.
<demotri>Guest3: There is also the cookbook, where you might find more service-related examples for your use-case:
<Kirtai>Noticed that calibre is far behind currently release but gui refresh doesn't pick up the newest release.
<Kirtai>The package is to complex for me to understand though so I can't figure out what's going on
<Guest3>is there an official guide to removing gdm from guix...  I tried replacing %desktop-services in config.scm with `(modify-services %desktop-services (delete gdm-service-type))`, and after reboot, it still loads gdm
<abrenon>that's weird
<abrenon>do you mean you reconfigured the system and it went well and all, but after the reboot the new entry was missing from grub ?
<Guest3>I think I'm using the new system, I didn't  check which guix generation I'm on
<abrenon>if instead of `guix system reconfigure` you issue `guix system build` on the same config file, it shouldn't do anything but simply print the path to the new system in the store
<abrenon>I suppose you can manually check there that GDM is indeed missing from it
<Guest3>taking a while...
<abrenon>what is ?
<abrenon>the build ?
<abrenon>that's not supposed to happen
<abrenon>if it's taking a while, it means that it wasn't previously built
<abrenon>which means that you haven't reconfigured properly (because that's build + switch to the new version)
<abrenon>if you haven't previously built, then of course simply rebooting can't have done anything to the configuration
<abrenon>the config.scm of your system isn't something that is interpreted dynamically at runtime like a config file, in guix, it's really the "source file" to your OS, which must be recompiled when you want changes to apply
<Guest3>yeah, I ran system reconfigure
<abrenon>but it didn't build anything ?
<Guest3>I gave a success message
<abrenon>now that's weird
<abrenon>: )
<Guest3>I was just removing something from the previous build so I didn't think it was weird
<Guest3>now maybe it's updating a bunch of packages...
<abrenon>true, but actually it still making a new version of the system, editing links and everything, so even if it doesn't have a lot to build, a reconfigure should take some time
<abrenon>(caveat while I think of it: have you chosen a replacement DM to GDM ? I'm sure there are ways to simply drop to a TTY but last time I tried to merely disable it while the system was on I got kind of stuck on a black screen unable to switch back to a TTY, so I don't know for sure but there may be something to do to tell the system you simply want a regular TTY if you haven't put SDDM or something in
<abrenon>your services)
<Guest3>maybe, that's why I want to know if there's some official process... cause I saw gdm in a few places in in the code, it looks a bit more integrated...
<Luk6655>I'm having a weird problem... I'm writing a package in custom channel B, I found out it needs a dependency from channel A (both are custom channels). However when I add #:use-module (package in channel B) it comes up as no code for the module. But if I use repl I can indeed use that package. (package in channel A already uses gnu packages too).
<Luk6655>I think this is the first time I'm trying to use a module from another channel in a custom channel(other than from guix, or the channel being modified). Is there something "special" one has to do to make it work?
<abrenon>sorry, well to factually answer your question: not that I know of : )
<Luk6655>I found the section in the manual about "declaring channel dependencies" I thought it is optional, but perhaps one has to do it?
<abrenon>Luk6655: I haven't tried several custom channels so far
<Luk6655>ok, no worries, at least I have some idea to try :-)
<abrenon>how do you use your channels ? -L on the command line ? or GUILE_LOAD_PATH ?
<Luk6655>I just add them to my ~/.config/guix/channels.scm, I then do guix pull, and then I just use the packages in guix shell
<pkill9>Luk6655: you dont have to declare them
<Luk6655>hmm, yes they do work in repl as long as I use (gnu packages)
<Luk6655>I just noticed custom channel A already has a .guix-channel file with one dependency. Perhaps this makes a difference? (the dependency is another channel, not B)
<Luk6655>I'm going to try adding channel B as dependency
<Luk6655>one thing I don't understand is why in this example: the channel name is not quoted (in "" or with ')
<Luk6655>wow, it did work with channel B listed as a dependency in .guix-channel
<abrenon>Guest3: still updating ?
<Guest3>didn't seem to work
<Guest3>... haven't checked it's contents yet, trying to get xinit to work first
<abrenon>hi zimoun
<abrenon>Guest3: what do you mean ? did it print a path in /gnu/store at the end of the build ?
<Luk6655>Guest3: about gdm, I'm not sure if someone mentioned it already, but you can use sddm instead, if you want I can dig out my config(I'm on another machine) to show you
<zimoun>abrenon: I have watched the video “rush” about Taming the Python; neat! (I have missed the IRL one, arf! :-))
<abrenon>thanks !
<abrenon>(so the videos are already available ?? ^^)
<zimoun>Not yet. As soon as possible. :-)
<zimoun>Have someone tried to package the Rust front-end of GCC? apteryx maybe? ;-) Because Rust will be part of Linux for 6.1 (soon), IIUC.
<Luk6655>Guest3: I have this: (modify-services %desktop-services
<Luk6655> (delete gdm-service-type)), and then I add sddm-service-type
<abrenon>I thought so, I was surprised that you could already watch them : )
<abrenon>wow "Rust will be part of Linux": I have no idea what this can mean (or rather the only meaning I can give to the sentence are weird and scary)
<Luk6655>I wish there was some way to continue a failed build after making some changes (as a test at least). I have a package that takes a very long time to build, then it often fails on the runpath check etc. It would be cool to be able to skip the whole build phase and use an already built temporary folder.
<vivien>I wish we had flatpak-builder (, gnome builder isn’t very useful without it
*abrenon hates python test stuff trying to download resources from the network all the time
<Guest3>Luk6655 I would like to see that config if you don't mind (sddm), I would rather use startx, but my main issue atm is gdm messes my monitor display and it seems like a gnome thing so I wanna exorcise gnome from my system
<Guest3>abrenon I'm looking in my current system profile & I don't see gdm
<stikonas>Rust will be optional in Linux, so that shouldn't be a problem even from bootstrapping perspective, you can build Linux without Rust, build mrustc->rustc chain and then build Linux with extra Rust drivers
<abrenon>Guest3: current meaning the one you've just built ? or the one running (/run/current-system) ? (because, if the latter, then GDM shouldn't be running then which means you have already solved your problem or I'm not following you)
<Guest3>... but when I run `pidof gdm` it gives a pid, so it's running
<abrenon>stikonas: that's a relief !
<Guest3>I'm in /run/current-system/profile/bin/
<abrenon>ah, yes, it doesn't necessarily have to be in your path
<abrenon>as long as it's known to herd
<Guest3>which gdm gives no results, so yes
<abrenon>I thought you meant you had checked there was nothing from your current system pointing to GDM
<Guest3>i gotta learn this shepherd thing i guess
<abrenon>yeah, I don't know either how to make a link from what shepherd reports and the actual files, that bothers me
<abrenon>so I'd be glad to hear about what you find
<Guest3>" 'shepherd' is the daemon, 'herd' is the program that controls it"  this is already backwards land... why does the herd control the shepherd... ahhaewpfuhawpef
<pkill9>'herd' isn't controlling the shepherd, 'herd' is the command to 'herd' the daemons
<rekado>“herd” is a verb
<Luk6655>does anyone know how the build systems decide what to include in the RUNPATH when running the runpath check? I have a number of packages specified in the inputs, but only few are included in the RUNPATH... Does anyone know how do I add another package from the inputs in runpath?
<rekado>Luk6655: gnu/packages/ is the ld wrapper, which is used to add -rpath arguments to the linker invocation.
<Luk6655>I see, I saw some package adding stuff to rpath. I wondered what is it used for... now I know. So I have to find that package again and replicate what it does. Thanks
<polyex>shepherd should be cli and sheepdog should be daemon
<Guest3>i know the pid of gdm, do you know how to find what process started it? also looking for herd/shepherd logs
<Luk6655>rekado: do you know if there is some standard way to add something to rpath with cmake?
<rekado>Luk6655: our ld wrapper should do the right thing without change; some packages will override the rpath, though. An example is fontforge.
<Guest3>gdm is nowhere in herd status, is it possible gdm is managed by something else?
<rekado>we added a build phase there to remove “set_default_rpath” from the cmakelists.txt
<Guest3>`pkill gdm` results in it being launched a few seconds later...
<Luk6655>rekado: interesting I see it uses cmake-build-system. I'm using python-build-system, but it uses cmake under the hood, perhaps I need to try this and see what ld wrapper sets it to. However witht he default config it seems to set it "almost" right. Just one folder is missing.
<Luk6655>I just looked in my top level CMakeLists.txt and it doesn't seem it contains set_default_rpath so I may already be using the ld wrapper. I just need to figure out a way to add one extra thing to it
<attila_lendvai>is there a way to get a path to the package build output from a .scm script that holds the package object?
<attila_lendvai>IOW, to get the output of `guix build mypackage` from a .scm script
<rekado>attila_lendvai: G-expressions are made for this.
<attila_lendvai>rekado, but how do i request a Gexp to be built (? execued?) from a simple script? is there an example somewhere?
<attila_lendvai>i guess i could extract it from the implementation of `guix build`, but i'm hoping for simething smaller
<minima>there's a couple of small scripts in my .local/bin that i'd like to include in my home configuration; if i simply add them as i do with config files, the scripts then are there, but they're not executable - understandingly so i suppose
<minima>should i think of creating a full-fledged guix package for each script or is there a particular gexp that i should be using for cases like this?
***wielaard is now known as mjw
<apteryx>zimoun: no. haven't touched rust since mrustc bootstrap update to 1.39, which means a year ago or so. the rust gcc thing isn't ready yet
<apteryx>or I'm not up to date with its development
<apteryx>Guest540: gdm is known as 'xorg-server' in Shepherd
<apteryx>I mean, the shepherd service in guix that allows you to restart gdm is 'xorg-server'
<zimoun>apteryx, about rust gcc, I have read that they started to merge to GCC. So, if not fully ready, maybe enough to simplify the bootstrap story. ;-)
<polyex>cant wait to start learning rust
<apteryx>zimoun: I'll leave it to you to find out ;-)
<zimoun>Well, Rust will be part of Linux kernel soon… so. :-)
<mothacehe>We have strange installer test failures:, it says mapped-devices or even target are undefined. The configuration file looks fine though.
<mothacehe>it puzzles me
<apteryx>odd; perhaps an earlier error?
<Guest3>i have in my config.scm service list (modify-services %desktop-services (delete gdm-service-type)), when I load this in a guix repl it says "imported module (gnu) overrides core binding 'delete'"
<Guest3>abrenon idk if you're still here
<abrenon>I got back half an hour ago
<Guest3>looks like the removing of the service doesn't work
<Guest3>(as in it isn't removed)
<abrenon>sorry but I don't understand why
<Guest3>"imported module (gnu) overrides core binding 'delete'"
<abrenon>provided you build the system corresponding to this config.scm and then reconfigure with it, I see no reason why it would remain
<abrenon>can you share the config.scm ?
<Guest3> I ran (define os (load "config.scm")) and the (operating-system-services os) included the gdm service, so the processes listed in the manual (using modify-services or 'remove' + lambda) don't work.
<Guest3>maybe i can share the config, it's on a diff machine
<Guest3>or maybe i can't cause it's got nongnu stuff...
<Luk6655>does anyone know what do I need to do to be able to ,use(guix) from guile launched in bash as opposed to guix repl?
<abrenon>no come on that doesn't apply to links to snippets
<abrenon>(now, if the problematic part comes from nonfree software, we may be unable to understand why it's failing and therefore to help you, but that's another matter)
<Luk6655>also, any idea how to find out where functions are defined? For example invoke?
<abrenon>Luk6655: no, sorry, I can barely use the REPL
<abrenon>the best way to find functions defined in guix is to grep a clone of the repos
<Luk6655>this works if you;re looking for something that isn't used much, however invoke is used in almost every package
<zamfofex>Guest3: I feel like you need to either share your config file or more information (e.g. parts of it) to be able to get more help.
<Guest3>bit awkward, in tty on the machine
<abrenon>Luk6655: in that case I usually grep the definition of the value: grep -r '(define.* the-name-I-m-looking-for' guix/ gnu/
<zamfofex>Luk6655: Maybe there is a flag you can pass to grep to tell it to exclude ‘gnu/packages’, or you can just visually skip it when reading the output.
<Luk6655>it must be defined with different syntax, because the search for 'define.* invoke' comes blank
*abrenon is recompiling spacy for the third time today (and not liking it)
<Luk6655>I might just copy all the use-module statements from one of the packages that use it and paste all of them into repl
<abrenon>too bad, maybe it's a special syntax thing
<zamfofex>Guest3: Consider: curl -T /etc/config.scm && echo
<abrenon>there is stuff wich is more like macro ~ templating and not proper value definition
<abrenon>I never know how they are defined
<abrenon>in that case, at least adding the space ' ' in front of the name should be enough if as I suppose the other occurrences of invoke are still used like a function, right after an opening parenthesis '('
<zamfofex>Luk6655: guix/build/utils.scm:757
<abrenon>how is it defined then ?
<abrenon>(just curious)
<Luk6655>zamfofex: yes I found it too, by pasting 20 use-module statements...
<zamfofex>abrenon: ‘(define (invoke program . args)’
<abrenon>ohhh right, for once it's ont a lambda
<abrenon>sorry… : ( that was a bad idea to assume there'd be a space in front of the name
<Luk6655>this is like no1 missing feature of guile for me right now...
<abrenon>yeah, well, sometimes you have to scratch a bit until it works
<abrenon>I'm sure the knowledgeable people using the repl can do much better
<zamfofex>Luk6655: I found it by piping grep’s output to ‘less’ then searching for ‘define’ within ‘less’.
<abrenon>but since I hardly use it, I have no better option
<Luk6655>zamfofex: thanks for finding it
<graywolf>Hello, is it possible to install guix without a root permissions? Official documentation seems to assume root access. Can I somehow just install it into ~/tmp in order to simply try it out before deciding if I like it or not?
<abrenon>unlikely because guix requires a daemon, which must run with root permissions
<abrenon>once guix is installed, you may install packages as a simple user, but you need root to install itself
<abrenon>you can still run it in a VM or a container where you can be root, I guess
<dlowe>must it run with root permissions, though? One could own a gnu store in one's homedir
<abrenon>no idea : )
<abrenon>but it does special remounting on /gnu/store to enforce that no one else but the daemon can modify it (even root, I tried once ! ^^)
<abrenon>so I'm pretty sure there are good reasons for requiring root
<dlowe>yeah, you'd lose some of the nice guarantees
<dlowe>graywolf: guix has a pretty tiny footprint and is easy to remove from a system if you want to just try it.
<dlowe>I was interested in the whole guix system and I went the vm route
<abrenon>I don't know, says "when guix-daemon runs as root", implying that it can run differently
<abrenon>so I guess there is a way to make it run without root permissions but I have no idea how
<jpoiret>Luk6655: here is a snippet procedure that will find which module exports a binding that is available in the current module
<jpoiret>"(define (find-var var) (filter-map (lambda (m) (and (module-variable m var) (module-name m))) (module-uses (current-module))))"
<jpoiret>it needs (srfi srfi-1)
<Luk6655>that is cool, thanks
<abrenon>ahh, now we see people using the repl : )
<graywolf>Are the packages allowed to contain/install setuid binaries? If yes, how is that coupled with installing packages as a regular user? Sorry for possibly stupid questions, but I really like the idea of Guix so I want to know what I'm getting into :D
<jpoiret>graywolf: the store cannot contain anything setuid
<jpoiret>if you're using guix system, you can specify which binaries you want to be setuid'd
<jpoiret>(and basically they'll be copied out of the store in a special directory and chmodded)
<jpoiret>on foreign distros, you'll need to do so manually
<graywolf>"foreign distros" is guix term for "regular distro with guix installed" right?
<abrenon>(as a mere package manager)
<graywolf>Great, thanks everyone :). I will start with a container and then possibly try it the foreign way if I like what I see in the container. I do not see myself going the guix system route sadly.
<abrenon>it doesn't have to be sad : )
<abrenon>guix is useful enough even as a package manager
<graywolf>I just hope I can get it working on alpine :D I expect it to be an interesting journey
<abrenon>I use it to make my life bearable on a machine at work which is running ubuntu for… reasons
<abrenon>ooh, cool, alpine !
<abrenon>what init system is it, again ? openrc ?
<graywolf>Yep, openrc with musl as a libc. I admit I fairly like it. Very lightweight and simple.
<graywolf>I assume the guix system is always glibc with systemd?
<graywolf>Or are there options as well?
<abrenon>used to love it (but I was missing some packages I wasn't able to add myself)
<abrenon>nooo ! not systemd !
<dlowe>the guix system uses a service manager called herd
<abrenon>it's written in guile as the rest of the system if I'm not mistaken
<Luk6655>and elogind for power/suspend stuff
<dlowe>mcron for periodic tasks
<abrenon>when you get it working on openrc, be sure to share the service file you'll have written !
<jpoiret>you may have some issues with containers though, since updating guix to the latest version is a bit costly
<abrenon>and you can draw inspiration from the existing ones in etc/guix-daemon.* in the repository
<dlowe>I would really experiment with a vm - gnome boxes is a very easy vm manager
<graywolf>Right, because I will need the daemon working. Can do (assuming I can do it :D ). Where to thought? Mailing list?
<Korven[m]>Hello, I'm Korven. I'm currently playing with Guix in a VM, and trying to replicate my Nix configuration style a bit. Nice to meet you guys :)
<abrenon>Hi Korven[m] !
<abrenon>graywolf: yay we use the guix-patches mailing list to submit git patches
<Luk6655>is there anything in guile like invoke, but returning a list of strings from the output of the thing it invoked?
<Korven[m]>Do the Guix substitute servers have mirrors for India? Or generally places other than the US?
<Luk6655>Korven: Judging by the name one is in France
<abrenon>and the other in Germany I believe
<Korven[m]>The bordeaux one? I do have it enabled, but I only hit speeds up to 200 KiB/s
<dlowe>Luk6655: you mean it writes thing to standard output or it returns some values?
<Luk6655>dlowe: I mean to return the output as a list of strings
<Luk6655>or even one string, which I can then split
<dlowe>Luk6655: you should be able to just call the function in the repl
<Luk6655>which function?
<dlowe>let me start over. Which "invoke" do you mean to imitate
<Luk6655>ok, let me go into the detail a bit. I have an executable I need to call (readelf, but that doesn't really matter). When I cal that executable it will output some text I need the guile code to receive, tokenise into a list of srtings, add one additional string and then call another executable with it as a parameter
<Luk6655>the bit I'm stuck on is how to run this executable and get its output in a guile variable
<Luk6655>when I run invoke, I just get true or false, did it fail, or did it succeed, no text output
<Luk6655>the text gets printed on the console rather than get passed to guile
<dlowe>guile itself looks like it only has the posix primitives. There's some libraries that wrap them in more palatable form.
<apteryx>dlowe: it's called GNU Shepherd to be accurate :-)
<dlowe>if you don't want to use those, you could use (system "readelf >/tmp/foo") and then read foo. Not that nice, though
<Luk6655>dlowe: it is some solution, but I doubt this will work
<Luk6655>I thought redirection is a shell feature
<Luk6655>well, I might find a different workaround
***Dynom_ is now known as Guest4752
<dlowe>system invokes a shell
<Luk6655>so that might work, I had some problems with system in the past I forgot what it was exactly, somethihng about being unable to pass multiple arguments
<dlowe>(system "echo $SHELL")
<Luk6655>I ended up having to create a script file and call that
<dlowe>oh, there are all kinds of problems with system :p You can't set environment variables, you're vulnerable to injection and shell quoting mishaps
<dlowe>but it looks like your other options are using a library or using fork, dup2 to a pipe, execle, read from a pipe, all yourself
<dlowe>if this is in guix it's probable that there's some util function that will do it
<dlowe>oh, I take that back. There's some stuff hidden in "pipes"
<Luk6655>I'm going a completely different route now, I was planning to use readelf to add to rpath, but of course it would need to read existing rpath first which seems like it isn't easy thing to do at all. I can't add another dependency to the project because it is a huge thing with hundreds of CMakeList files. Now I think of just symlinking those libs in th eoutput folder and deleting them after.
<dlowe>still uses a shell though. Yuck.
<Korven[m]>and we're down to a 100 KB now. Guess my Guix dream ends here :D
<Luk6655>dlowe: actuallythat pipe stuff might do what I need, it would be much better than the symlink
<apteryx>on my x200, reboot rarely seems to succeed; it hangs on a black screen. Does it happen to other x200 users?
<lilyp>anyone know a potential cause for ghost keyboard events during boot?
<jpoiret>Luk6655: you can look at the invoke definition to get some inspiration
<Luk6655>thanks, I'm trying to use the pipes, it seems to work in the repl as expected so hopefully I can get ot to do what's needed in the package definition
<rekado>Korven[m]: the server in Germany is well-connected, but peering makes a big differences in what bandwidth you get.
<rekado>(the one in Berlin, Germany is
<apteryx>lilyp: what do you mean by ghost keyboard events?
<Korven[m]>ah, so they both are slow for me. Nice.
<Korven[m]>well, thanks for clarifying anyways.
<lilyp>apteryx: Grub sees a down arrow followed by an up arrow without there being any physical key that could be pressed to achieve this
<apteryx>weird; that'd point to a hardware failure to me (keyboard)
<lilyp>the only connected keyboard works over bluetooth – no way that'd interfere in grub
<lilyp>speaking of which, would it even be possible to get bluetooth into grub?
<rekado>Korven[m]: IIRC there’s a mirror in China and another in Russia
<rekado>Korven[m]: see
<rekado>Korven[m]: and
<Korven[m]>hey, thanks alot!
<Korven[m]>One more thing, do I have to specify the substitutes separately for Guix Home?
<lilyp>do you mean separately per user or separately per invocation?
<lilyp>if per user: simply drop the right file in ~/.config/guix
<bdju>did guix ever get parameterized packages?
<Korven[m]>I mean separate for the system and the user
<Korven[m]>I have a channels and a system scheme file in my ~/.config/guix folder
<Luk6655>the way I did it was to use the root's profile as system (using actual root login, not sudo) and then normal user for user packages. However this is unlikely to be the recommended way.
<lilyp>not yet
<Luk6655>so /root/.config/guix/channels.scm was used for system, and /home/user/.config/guix/channels.scm ws used for user's channels
<Luk6655>however, I was told this is not how most people use it
<Korven[m]>i was just wondering if Guix Home would pick em up, seems like it will
<lilyp>hmm, I don't think this'll be allowed tho
<lilyp>you need admin privileges to authenticate a substitute key
<Korven[m]>where do you specify Guix Home substitutes and channles then?
<Korven[m]>i can sudo :p
<lilyp>well, duh, but that'll change the keys for everyone
<apteryx>lilyp: I don't think it's possible for GRUB to see bluetooth devices
<lilyp>thought so
<lilyp>still, i find it weird that I'm seeing these movements at all
*jackhill wonders if there's some uefi bluetooth manager
<Korven[m]>what if i'm the only one using the system tho
<Korven[m]>that works right
<jackhill>heh, what do you knwo!
<jackhill>lilyp: sorry, I have no idea about your extranious inputs
<minima>i added a script to my '.local/bin' using 'local-file',
<minima>but the resulting file (the symlink) is not set as executable - so i assume i'm not doing this the way i'm suppose to
<Luk6655>sorry, I don't know enough about gexp's to help
<Luk6655>btw, is there some documentation about building guix for embedded hardware?
<Luk6655>cross-building essentially
<Luk6655>I have this rockchip based SBC (single board computer) that I use buildroot to create firmware images running Linux, I would like to explore how to run guix on it in a way where all derivation and building would happen on a PC, and an firmware image would be created that can be written to the board.
<Luk6655>I heard some people did run guix on some pine products, so if someone knows any resources about it please let me know. I have to pop out, but I'll read any answers later(if there are any).
***antimeo is now known as normalmeo
<jackhill>Luk6655: you may want to take a look at the various u-boot-* packages. I see we have a u-boot-rockpro64-rk3399 and a u-boot-rock64-rk3328. That, and with an invocation of `guix system build` may be what you're after
<minima>oh! i was able to find an issue that reports my exact same problem (and the solution!), here:
<minima>so, basically, as clearly reported in the docs, 'local-file' offers an option to preserve the file's permissions
<minima>so i should have read the doc more carefully - which is frustrating because i must have read that bit 10 times lol but i was probably blind to it
<minima>so it now works, i have my '.local/bin' executables in place, yay
<minima>hm, now i'm having another issue, though
<minima>the script - which is now correctly marked as executable - comes with the standard interpreter shebang, e.g. '#!/bin/sh'
<minima>but there doesn't seem to be anything at that path in my new home, when launched in a container
<minima>and correctly so, i suppose, as the actual sh must be somewhere in the store
<minima>now... that makes me think that the correct way of handling this is to actually somehow build the script - which i suppose would result in the shebang to be correctly replaced
<minima>building it as opposed to simply copying it over with 'local-file' as i'm doing now
<lilyp>you can include the store path to bash-minimal easily in your g-exp
<minima>hm ok, thanks lilyp, i'll look into that
<minima>the gexp here being local-file, i suppose?
<minima>no, hm, i guess i need to use something else? like computed-file...?
<lilyp>mhh, yes, you'd need to compute that from your original file
<minima>lilyp: awesome, thanks, i'll be looking for the right gexp/procedure in the gexp page
<zamfofex>I’m planning to package swc (the Wayland one, not the Rust/JavaScript one), and it is an unversioned project (“just use ‘master’”, bascially). Should I make the package version “0”? And where should it (alongside wld) be added? I assume to ‘gnu/packages/graphics.scm’, is that right?
<sughosha>Hi there, I am not able to mount an internal hard drive partition (/dev/sda5), which is NTFS. But I can mount an external USB hard disk, which is NTFS too, without any problem. Could someone help me with this? I can mount the internal partition as root. Only udisks is not able to mount it. Thanks in advance.
<lilyp>zamfofex: it looks like (git-version "0.0" revision commit) will be the right format for this package
<lilyp>if you're ever unsure about the base version, grep for version in the sources and you shall find
<minima>hm, lilyp, do you happen to have any pointer on how to add bash-minimal and "compute" my script?
<minima>i've looked around a bit but i'm not sure which exact gexp i should be using - and how i should be using it :)
***mark_ is now known as mjw
<lilyp>minima for the record, i don't recall the full snippet, but it does contain #~(substitute* #$(local-file ...) (("/bin/sh" cmd) (string-append #$bash-minimal cmd)))
<lilyp>there should be an example in the manual replacing vi with emacs :)
<lechner>lilyp: Hi, do you use these GRUB settings?
<apteryx>hmm, either I'm silly or something doesn't work: term1: iperf3 -s -p 33002 // term2: netcat -u localhost 33002 -> nothing
<apteryx>I'm trying to validate the procedure to test if a UDP port is listening
<lechner>apteryx: looks like your resolver prefers ipv6
<lechner>apteryx: what happes if you run iperf3 -c -p 33002 (the client invocation) instead of netcat
<lilyp>lechner: for the record, the keyboard itself is working, but grub sees inputs that aren't there
<lilyp>just enough input to not auto-boot that is
<lechner>lilyp: sorry, i misunderstood. maybe you could cover the ps/2 connector in the back, if you have one, with aluminum foil. or is it a laptop with a usb touchpad?
<apteryx>lechner: this works
<apteryx>lechner: even if i use netcat for the server with 'netcat -l -u -p33002', it doesn't work
<lechner>apteryx: maybe localhost gets resolved to ::1 instead of
<apteryx>host localhost says address is and IPv6 address is ::1
<qzump>I modify installation-os's services option, but even re-assigning
<qzump> it to the same value gives "error: more than one target service of type
<qzump> 'shepherd-root" on "guix system image"-ing.
<dthompson>hey i haven't blogged in years but today I did and it's about guix shell, kind of a follow up to mbakke's recent very good blog post check it out maybe
<lechner>apteryx: netcat will pick just one, i think. how about using it with -v ?
<Cairn>clear: command not found
<apteryx>lechner: still mute
<Cairn>I normally do C-l, but I'm writing a script and got this
<lechner>apteryx: is 'netcat' the same program as 'nc'?
<stefanc_diff>lechner: yes
<apteryx>unless you installed libressl
<apteryx>which provides its own 'nc'
<apteryx>and nmap has ncat
<apteryx>I get the same result with 'ncat'
<Cairn>Wow, today I learned "clear" is an ncurses command
<apteryx>there's more to learn: you can achieve the same with C-l
<dthompson>haha I remember learning the same thing when I started using guix
<lechner>apteryx: i believe the iperf3 server and nc both listen. maybe you need the iperf3 client and nc?
<apteryx>lechner: still, 'nc -u localhost 33002' doesn't print anything
<Cairn>apteryx: If that's to me, you missed what I said earlier.
<apteryx>Cairn: oh, I did! apologies :-)
<Cairn>I normally do C-l, but I'm writing a script so I need the equivalent
<apteryx>I wonder if you could not send the special characters instead
<Cairn>I wondered that too. I tried inserting the control character directly, but got a strange error
<apteryx>lechner: what I really wanted to test was if the XDMCP port UDP 177 was listening to any interface or just localhost
<qzump>My issue's solved by reading the manual.
<apteryx>ss -ltun tells me it listens to any interface:
<warren>what is the best URL describing the work to bootstrap from the 357 byte assembler to get to here?
<lechner>apteryx: not sure how to help with the greater question, but i see connectivity (on TCP) with netcat -l -p 5201 --tcp localhost and iperf3 -c localhost
<lechner>although the output is nonsense
<apteryx>right, TCP works
<apteryx>UDP works too when testing with iperf3
<apteryx>but here I wanted to test the UDP port of another server (XDMCP)
<podiki[m]>does anyone use vdpau? I wonder if that needs a search path VDPAU_DRIVER_PATH (since vdpau drivers are in eg mesa's lib/vdpau, no in libvdpau's lib/vdpau, and pkg-config points to libvdpau's path as default search)
<podiki[m]>see (somewhere else saw about pkg-config to see where vdpau drivers are search for, don't remember the link)
<minima>lilyp: hey, thanks! i'll use that example as a starting point then, excellent
***f1reflyylmao is now known as f1refly
<Luk6655>what is the recommended way to submit binary files? It seems I found a bug in guix's runpath validation
<Luk6655>probably base64 encoded in an email?
<podiki[m]>why do you need to send the file? just the package (or recipe in progress) that fails at that step would be better I think