<sneek>vagrantc, g_bor says: It seems that you are missing a closing parenthesis after ((#:phases phases , but it was balanced at the end, causing no immediate syntax error, but leaving the syntax form open. I've sent you a mail with the correct patch. (Please notice that I did not build it, did not check the copyright lines, and did not made the modification to the ovmf package).
<iqubic>Does GuixSD support ZFS partitioned File Systems?
<rekado_>g_bor: I don’t know about the extensions, but you can write an operating system configuration that contains a postgresql service and then build a VM with “guix system vm”
<g_bor[m]>rekado_: Actually the extensions are the interesting part. I would like to later add more extensive configuration support for postgresql, as I use it a lot. It might be an independent overlay.
<g_bor[m]>I would like to have the power of functional configuration there, but one has to be careful with these stateful things :)
<rekado_>g_bor: does the service support extensions?
<rekado_>thomassgn: the manual only seems to be talking about applications, not about running plain Guile expressions.
<rekado_>thomassgn: you can, however, provide a thunk instead of a string.
<rekado_>here’s an example from the manual: (job '(next-day) (lambda () (system "my-program") (kill (getppid) SIGINT)))
<thomassgn>ah. So I'd just make the script into a ... script and run it like a binary or something? Maybe I should ask the mcron people. Wait, A thunk? so I would do something like (job '(next-day) (lambda () (i3-battery-warning:check&react)) ??
<rekado_>yes, though you might have to add the use-modules thing there.
<thomassgn>Cool. different question, I can use the shepherd schedule mcron to get a list of jobs, but currently it just say "Lambda expression" Can I name lambda's? It be a define then?
<snape>thomassgn: (define foo (lambda () "hello world")) is the same as (define (foo) "hello world")
<efraim>Final build of qtwebkit, without tests: 7.5 hours on aarch64
<efraim>And I think it managed to kill network-manager for its memory
<thomassgn>Hah, tried sudo herd stop mcron, and my system restarted... and now mcron is indeed stopped.
<thomassgn>weird, my config has: (mcron-service %ton-cronjobs), but guix system reconfigure config.scm gives me first "guix system: unloading service 'mcron'..." then "shepherd: Removing service 'mcron'..." and finally "herd schedule mcron" gives (of course) "Service mcron is not running."...
<thomassgn>thought it should be started by a reconfigure. Not removed. ?
<thomassgn>I see the reconfigure also says: "shepherd: Service mcron has been started."
<snape>"of course"? herd schedule mcron should work even when mcron isn't running
<grothoff>I just installed GuixSD 0.15 on a new rackmounted AMD server that should host gnunet.org in the future. Installation was unproblematic, except I've yet been unable to find how to add the IP network configuration to config.scm instead of manually doing 'ip addr' commands (note that I am not using DHCP but static configs, DHCP instructions were found)
<roptat>grothoff: have you seen static-networking-service-type?
<roptat>ah maybe I'm saved: I may be able to build jflex using jlex
<pkill9>well, i think it would be simpler just to start out with something basic that doesn't require anything built, and see what is needed afterwards, so for example, just literally have a directory hierarchy of laptop manufacturers, then the laptop model, then an example config
<ecbrown>i think i've found some new evidence in why sshd is not starting at boot time. it does start when i have %base-services in my (services ...) but when i replace %base-services with %desktop-services, sshd does not start
<ecbrown>i have (services (service openssh-service-type ...) %desktop-services)
<ecbrown>i tried to do (services ... %base-services %desktop-services) but that bombs out with some ugly error
<ecbrown>well i admit to pointless thrashing, not understanding why ssh would not start
<pkill9>amz32: to be honest, all these config fixes are mostly kinda hacks, ideally everything would work out of the box, which a lot of hardware now does
<pkill9>but then some small things haven't been fixed in whatever, e.g. having to set a kernel flag to get brightness keys working, or in my case in guix having to set a xorg configuration (set input driver to libinput) to get trackpoint scrolling to work
<ecbrown>i.e. syntactically, and i can now ssh into the gui box
<alezost>brendyn: I think % denotes global variables
***Apteryx is now known as apteryx
<ecbrown>rekado_: i really don't understand what is going on, as i see %base-services should be in %desktop-services, ccf. desktop.scm
<thomassgn>For some reason I can't start mcron on my system anymore... https://paste.pound-python.org/show/Bj9XWdNPXZZnWHtPLe2z/ I checked the logs and it seems to have problems with respawning to fast. I guess there is something wrong with the config I was trying out earlier, but I have no way of getting error messages. The closest I get is to see /gnu/store/...-shepherd-mcron.scm any ideas for troubleshooting this? (I
<thomassgn>see now I can start mcron, but without jobs, even the ones that were there before I started)
<thomassgn>and stopping mcron reboots my computer still. is that supposed to happen? 'sudo herd stop mcron' = instant shutdown... I might just leave this for now, I don't understand what's going on here.
<iqubic>How can I test if my hardware is GuixSD compatible?
<kballou>if importing/packaging python libraries from pypi, should test dependencies be included? as what kind of input? what's the protocol for this? is there a document for this as well?
<amz31>iqubic: you can make backups of your home directory
<amz31>kballou: well, when I used guixsd I rely on pipenv hence avoid guix to install python package without system dependencies
<thomassgn>iqubic: You could try booting a live usb disk of guixsd. That would tell you a lot. If you're not comfortable with commanldine only then you could also run a trisquel or other linux-libre distro...
<amz31>kballou: I don't know about test dependencies sorry
<amz31>iqubic: i've been doing mostly guile last few years in my free time but picked up pipenv
<ecbrown>not sure if a live usb is available for download, but i would suppose installing to a usb is an option
<thomassgn>kballou: when I've been packaging haskell (ghc) stuff I have the testing req's as plain inputs
<kballou>amz31: I believe pipenv would probably only install things in the `requirements.txt` or dependencies "install dependencies"... test dependencies and dev dependencies don't typically get shipped with pip(env) installs.
<thomassgn>ecbrown: the install disk is a live usb. It's not nice for anything but installing though
<snape>the package is 'emacs-exwm', and you just need to add 'exec exwm' at the end of your .xsession when it's installed.
<amz31>kballou: the problem of pipenv is not dev dependencies, they are specified in pipenv Pipfile, and available via pipenv install --dev once in the shell, pipenv is not a packing tool, it just fetch and install dependencies locally
<amz31>you can distribute a Library with pipenv but it's off topic
<amz31>you can NOT distribute a Library with pipenv but it's off topic
<rekado_>kballou: the difference between “propagated-inputs” and “inputs” is that the former are installed into the profile, alongside the target package. Regular inputs don’t end up in the union directory that makes up the profile.
<kballou>rekado_: so, for test dependencies, we probably want those to be "inputs" as they are not likely needed _after_ the installation of the package?
<snape>kballou: inputs are needed _after_ the installation of the package, by the package, but they are not directly accessible to the user (i.e. in PATH)
<rekado_>the difference between “native-inputs” and “inputs” is about cross-building. A package in “native-inputs” needs to be executable on the host architecture, whereas packages in “inputs” must be executable on the target architecture.
<kballou>I think it's starting to click now, thanks
<snape>kballou: so test dependencies should be native-inputs
<snape>GPL requires the augmented version of a program to be under the same license, ZFS would augment Linux, thus it should have the same license, but it can't because its license is not compatible with GPLv2
<snape>privately, you can do whatever you want, including having your custom zfs package
<snape>GPL covers distribution, not what you do privately
<iqubic>but I don't know how to write that. I'm not skilled enough to do that.
<ng0>it is tricky. privately speaking. privately speaking I did not succeed so far due to the way the kernel is build at the moment (sources "thrown away"). take a look at how the kernel is build in NixOS if you want a hint.
<ecbrown>guixsd does support btrfs, so maybe there is some feature parity with zfs.
<ng0>it does use it, but it will remind you in not so obvious ways
<ng0>so it's more or less the "civilization starterkit" version of Nix. it gives you nix, and that's it.
<ng0>or as I could say in German: Nix on Guix gibt dir nix.
<ng0>always love the confusion when I speak to German people in my region about Nix :D
<emacsomancer>ng0: I suppose I'm trying to find out how I might get more complicated software on guixsd that's not available right now (or sometimes probably ever) in the guix repos. so nix doesn't necessarily sound like a good solution. what about other things like flatpak?
<ng0>well you can have custom packages once you understand how to create and use them.
<ng0>my system is like 40% guix and 60% custom builds. I think no ones done flatpak. my idea so far is that I want to create default base system layout chroots for "normal" package managers to see how that works out
<emacsomancer>ng0: wouldn't it be easier to use bedrock linux at that point though?
<ng0>and package managers are not at the center of it
<ng0>anyway, the thing is we'll probably never officially support other package managers in Guix itself, at least that is the understanding I have from our guidelines and the amount of hoops you need to jump through
<emacsomancer>I see nix in the guix repos though, which is why I thought that might be a solution
<ng0>you can use Guix on top of another Distro and then use that package manager.. it's probably easier
<ng0>does anyone else know why we have it? for hydra?
<ng0>consistency would be to drop it or declare what our view on integration is. because guix import nix seems not to work (anymore).
<rekado_>if there’s a bug report it would probably be fixed.
<ng0>I'll continue waiting, there is something going on.. I'm just building many other things at the same time
<mbakke>Oh no, it seems the dmeventd addition to LVM broke cryptsetup.
<ng0>emacsomancer: at the very least "guix import nix ~/re-src/nixpkgs curl" needs time to compute
<ng0>since we have Nix, and it doesn't "really" work without a system-service, do we want: a) a system-service? b) to point out what needs to be added / point to upstream documents? c) correct the description of our nix package? I have a couple of months of experience with it..
<ng0>I can go more into detail about the problems in an email if you want it?