Avoiding rebuilds (e.g. of mariadb, the entire Rust chain, etc.)?

2021-12-26 Thread Matthew Brooks
Is there any way to avoid rebuilding stuff like mariadb, the entire Rust chain, etc. unless one of those packages *actually* changes? It seems like every few days every single package needs to rebuild for some reason, including many packages that spend unbelievably long times running tests that

Re: How to use "setuid-program"?

2021-09-17 Thread Matthew Brooks
Le 3 septembre 2021 14:49:48 GMT-04:00, Tobias Geerinckx-Rice > a écrit : > >Hi Matthew, > > > >Matthew Brooks 写道: > >> The actual manual, however, still lists the old way as the way > >> to do it. > > > >No: > ><https://guix.gnu.org/

How to use "setuid-program"?

2021-09-03 Thread Matthew Brooks
The old way of doing setuid programs: (setuid-programs (cons #~(string-append #$slock "/bin/slock") %setuid-programs ) ) now gives a deprecation warning as follows: >warning: representing setuid programs with file-like objects is deprecated; >use 'setuid-program' instead The actual

minetest, minetest-data, and minetest-mineclone, have updated.

2021-03-17 Thread Matthew Brooks
Not sure where the proper place is to report updates, so I figured I'd post it here for now. minetest, minetest-data, and minetest-mineclone, all have updates. minetest's new version is "5.4.0", and it's new hash is "1a17g6cmxrscnqwpwrd4w2ck3dgvplyfq4kzyimilfpqar1q69j9". minetest-data's new ha

guix pull: the SSL certificate is invalid

2021-01-01 Thread Matthew Brooks
Not sure what happened, but within the past week or so I can't pull guix anymore. Trying gives the following output: >Updating channel 'guix' from Git repository at >'https://git.savannah.gnu.org/git/guix.git'... >guix pull: error: Git error: the SSL certificate is invalid The only things I can

Custom package, specifying cmake source directory?

2020-12-13 Thread Matthew Brooks
I'm working on a custom package definition, but when it gets built the cmake files are in "source/src" instead of "source", and so the build system errors out when trying to run cmake. How do I specify the source directory for the cmake build system? From grepping around in the definition for th

Re: Stopped getting TTY login prompt after boot, can still ssh in

2020-10-28 Thread Matthew Brooks
Minor update: As of a pull and reconfigure a few days ago, I'm getting the tty login prompt again. I have no idea what caused it to break initially, or what fixed it, since I didn't change my system definition at all, but I figured I should mention that it seems to be working again.

Stopped getting TTY login prompt after boot, can still ssh in

2020-10-03 Thread Matthew Brooks
I recently (about the past few weeks or so) stopped getting a login prompt at the tty after booting my desktop computer. In the past it would occasionally do this, but it would usually bring one up after a reboot or two. Now, it just doesn't. I can log in through ssh, however, so the system is

Re: Can't connect to wifi during guided installation

2020-08-26 Thread Matthew Brooks
It's generally a good idea to mention what you did that ended up fixing the problem, in case someone else has the same problem later. As it is, anyone else who gets the same problem will still have no idea how to fix it. On Wed, 26 Aug 2020 11:30:11 -0400 Jacob daemonspudguy Tice wrote: > Got

Desktop graphics cards with working acceleration?

2020-07-29 Thread Matthew Brooks
Does anyone happen to know of any desktop graphics cards that have working acceleration for basic gaming (compatible with a PCI express x16 slot)? My laptop has an integrated intel card, so it can play basic stuff (Doom, etc.) just fine, but my desktop pretty much turns anything gaming related i

Re: How to declare a bind mount in the "file-systems" definition?

2020-04-22 Thread Matthew Brooks
Thanks for the help! I've renamed the section and hard wrapped the lines, and updated it to a more recent commit. Let me know if there's anything else I should do. On Wed, 8 Apr 2020 12:52:47 -0400 Leo Famulari wrote: > On Sun, Mar 29, 2020 at 03:01:09PM -0500, Matthew Brooks

Re: How to declare a bind mount in the "file-systems" definition?

2020-03-29 Thread Matthew Brooks
0200 Gábor Boskovits wrote: > Could you consider adding an example to the cookbook? > I believe that would be a great addition. > > Best regards, > g_bor From b66973344e3387f1a8450d091489a8a9671e8738 Mon Sep 17 00:00:00 2001 From: Matthew Brooks Date: Sun, 29 Mar 2020 14:55:34 -0500

Re: How to declare a bind mount in the "file-systems" definition?

2020-03-26 Thread Matthew Brooks
On Sun, 22 Mar 2020 18:12:10 -0400 Leo Famulari wrote: > Looking in the manual for mentions of bind-mount I found the > documentation of %immutable-store, which is a bind-mounted filesystem > that exists by default in Guix System. It's implemented in > 'gnu/systems/file-systems.scm' and hopefully

Re: How to declare a bind mount in the "file-systems" definition?

2020-03-20 Thread Matthew Brooks
On Thu, 19 Mar 2020 21:41:55 -0400 Leo Famulari wrote: > You would add (flags '(bind-mount)) to the Scheme definition of > file-system. Yes, that much is mentioned, but defining a bind mount also requires other things which are not mentioned in the manual page. Such as how to specify the sour

How to declare a bind mount in the "file-systems" definition?

2020-03-19 Thread Matthew Brooks
My boot disk is an SSD, and to save some wear I'd like to bind mount a folder on one of my spinning disk drives to /tmp. The online manual does mention that bind-mount exists, but doesn't actually seem to have any examples of defining a bind mount. For reference, I'm trying to automatically bind

Re: mariadb build fails "Failing test(s): main.mysqldump"

2019-01-23 Thread Matthew Brooks
> "GUIX_PACKAGE_PATH=./ guix package --install address@hidden" For anyone reading all this on the web archive, that's supposed to be "mariadb", then an at symbol, and then "10.1.33", without any spaces between them. It seems to have come through fine in the mailing list, but the archive program

Re: mariadb build fails "Failing test(s): main.mysqldump"

2019-01-22 Thread Matthew Brooks
I've been able to figure out a workaround, by installing mariadb 10.1.33. Specifically, the version of 10.1.33 from commit "5b4d2e40f1b2097c1f1ea6d1a0e701a1908011d4" of the guix repository, which is from before mariadb was configured to run all the tests it does now. All of the later versions (

Re: offload: error: failed to connect to `#

2019-01-21 Thread Matthew Brooks
> (string-append (getenv "HOME") > "/.ssh/identity-for-guix" >... > > ERROR] The file does not exist or permission denied: > "/root/.ssh/identity-for-guix" The SSH connection is to a regular user on the offload machine. In your example, it is configured to co

Re: mariadb build fails "Failing test(s): main.mysqldump"

2019-01-07 Thread Matthew Brooks
Well, apparently something relevant had changed since my last guix pull, since today when I finished getting some other stuff set up and did a pull, mariadb is getting compiled fine. Sorry about that.

guix gc, any way to delete only packages that aren't required to build anything?

2018-11-29 Thread Matthew Brooks
Is there any recommended way to have guix gc only delete packages that aren't required to build anything? I've made a custom bash script that loops through the output of "guix gc --list-dead" and tells guix to delete any dead packages that have no --referers, but it's really slow (it can take se

Icecat not displaying numbers, but letters display fine.

2018-11-25 Thread Matthew Brooks
I recently switched away from using a full desktop environment to just xorg and a custom DE (specifically: DWM 6.1), and while most things work fine, icecat isn't showing any numbers at all, just blank spaces. Letters display fine. The instructions for manually starting X instead of using a full

Re: "calibre" package fails to build.

2018-08-05 Thread Matthew Brooks
On Wed, 1 Aug 2018 13:17:39 +0300 Efraim Flashner wrote: Crashes on start with the "ImportError: No module named QtWebKitWidgets" error, sadly. pgpVVTx3y9XRx.pgp Description: OpenPGP digital signature

"calibre" package fails to build.

2018-06-28 Thread Matthew Brooks
It's also several versions out of date, according to the website. Which lists 3.26.1 as the latest version, while 3.17 is the latest in the guix repo: https://calibre-ebook.com/whats-new (This might be the cause of the error, since I remember reading that calibre is tightly bound to specific vers

Re: locale warnings

2018-06-26 Thread Matthew Brooks
Have you tried setting GUIX_LOCPATH for the user (instead of just root) and also installing glibc-locales for the user (instead of only root)? I had the same problem with locales not being found, but installing the locales and setting the environment variable for the user fixed it for me. On Tu

Re: "guix offload test" gets stuck with no output.

2018-06-16 Thread Matthew Brooks
It seems to be working now, for some reason. I updated guix in the user and root accounts on the build machine again, and double-checked the .bashrc configs since one of them said I needed to add ".config/guix/current/bin" to the path (even though I swear I did that the other day, but it wasn't

"guix offload test" gets stuck with no output.

2018-06-15 Thread Matthew Brooks
I'm trying to get my desktop computer to do the actual building, since my laptop is fairly low spec. I think I've gotten everything set up (following the directions at "https://www.gnu.org/software/guix/manual/html_node/Daemon-Offload-Setup.html";), but when I run "guix offload test", it just o

Re: [GuixSD] Extremely low framerate on desktop.

2017-03-02 Thread Matthew Brooks
Thanks for the reply; I hadn't even considered the issue of blobs separately from drivers. I just double-checked with a Trisquel liveUSB, and while it *does* show the same "VMWare" and "softpipe" stuff in glxinfo, the performance is much higher than on my GuixSD install, and it can even play HD vid

[GuixSD] Extremely low framerate on desktop.

2017-02-28 Thread Matthew Brooks
On the Gnome desktop (and also, "Gnome on Xorg"), I seem to be getting an average of about one frame per second with just the basic desktop up, which makes the system essentially unusable. glxgears *says* it's running at 160 FPS, but the screen is quite clearly only updating maybe 3-5 times per sec