2018-04-26 1:26 GMT+02:00 Jone <yeger9@gmail.com>:
Hi people!
How do I build https://github.com/nonpop/xkblayout-state ?
I need it for switching keyboard layout with one key (LWin), in Emacs
and in X.

Hello!

I've checked the mentioned software. It seems, that it is non-free. This is caused
by  partial application of GPL2. What is missing is an explicit license file, and some
license notes. As it seems, that the intention of the author was to release this software
under GPL2, it might be easy to have it fixed. Please point the author to
https://www.gnu.org/licenses/gpl-howto.html.

With that said, it is still possible to build it, and even to write a guix package
for it, but until the licencing issue is resolved this package cannot make to upstream guix.
It is possible to build software, like in any other distro to build this in your own home directory
with the appropriate toolchain installed. It is also possible to write a package, you could have
a look at the manual for defining packages. Should you need any more help, don't hesitate to ask.