<gzg>mark_weaver: After the unset phase, I'm supposed to add a phase that just does (setlocale "LC_ALL" "en_US.utf8") -- Thinking about it, yeah, argument probably wouldn't be the way to do this... I'm just not sure how though. :^P
<mark_weaver>gzg: I think you need something like (arguments '(#:phases (alist-cons-after 'unpack 'set-locale-utf8 (lambda _ (setlocale "LC_ALL" "en_US.utf8")))))
<mark_weaver>but maybe it's in a place where it doesn't get found automatically.
<mark_weaver>I think the automatic scan might only search at the top of scripts, e.g. #!/bin/sh
<gzg>mark_weaver: It's looking in /timp/nux-build.../kbd-1.25.3/po
<gzg>Other directories in kbd-1.25.3/s seems to have worked just fine? :^P
<mark_weaver>yeah, the automatic patching is only done for shebangs at the top of scripts.
<mark_weaver>you might need to do your own manual substitutions, pass some arguments to make or configure, or perhaps set some environment variables or something.
<mark_weaver>packages that use the gnu build system allow you to set the shell with variables like SHELL and CONFIG_SHELL, etc. and that's probably being done automatically here, but this package probably doesn't support the standard ways of overriding the desired shell.
<mark_weaver>gzg: do you know about the -K option to guix build ?
<gzg>mark_weaver: Sorry, I'm not being very clear. I'm not sure what that did over normal build, since my build failed isn't it there anyways? At least the directory was there before added the -K flag...
<mark_weaver>civodul: I'm very close to having natively-built bootstrap tarballs for MIPS N32. I'm wondering if they should be put online somewhere, such that MIPS users could simply check out a git branch of guix and have it work properly without fiddling. What do you think?
<mark_weaver>my own server has limited bandwidth, such that I'm not entirely comfortable hosting them there.
<civodul>in addition, i guess they don't hurt the other arches
<mark_weaver>That's true; the most important patches would only hurt other MIPS systems. For example, 'pixman' checks for a Loongson 2F processor at 'configure' time, and if present, uses a bunch of Loongson 2F specific SIMD instructions. Our current guix package for pixman does not prevent this impurity.
<mark_weaver>but if we fix that by disabling the loongson support in generic MIPS N32, then we'll have to make a separate branch for Loongson 2F, because those optimizations are very important for graphics performance in X and cairo (and thus Gtk)
<mark_weaver>of course, the best solution would be to make pixman detect the processor at runtime and dynamically use the right code, but that's a bigger fix.