Hi,
I am trying to upgrade the Guix Kicad package from version 5.1.10
to 5.1.12.
When I upgrade the version and hash of the package definition and
try to build it, it fails with a CMake error saying the
OpenCascade header files are missing.
"opencascade-oce" is listed as a package input, j
Peter Polidoro writes:
Do I need to put more information in the Kicad package
definition to get CMake
to find the opencascade header files?
I understand now, I just needed to specify the opencascade include
directory in the configure flags in the Kicad package definition.
Guix is a
I would like to create a Guix package for PlatformIO so I can
compile and upload firmware onto various embedded microprocessors.
The PlatformIO core is simply a pypi Python package, but it
requires udev rules in order to communicate with the embedded
devices.
I see that several Guix packages
Is there a way to pass a specific package version to the guix
refresh command?
This may be necessary, for example, if a git repository contains
spurious tags that confuse the guix refresh command into chosing
an incorrect latest version.
I apologize for a very basic question, but I could not find where this is
documented. If a paper or manual page describes this I would be happy to read
it.
How, in general, does code in a Guix package find its dependency packages at
run time?
Does it potentially work differently for each build
The mecanism depends a bit on the build system but for C
programs, it's embeded at build-time in its RPATH. For
applications, there are
wrappers
(https://guix.gnu.org/manual/devel/en/html_node/Build-Utilities.html#Wrappers).
So in general, packages use environment variables to find the
abs
Your explanations are very helpful, thank you, and your links made
me realize that devel version of the manual has lots of
information that I could not find in the stable version of the
manual.
During the build, search-paths and native-search-paths are used
to set up environment variables. If
Remember the difference between inputs and propagated inputs:
they're the same, but when you create a profile, inputs are not
part of the
profile (so they need a direct store reference, such as RPATH or
a wrapper), whereas propagated inputs are part of the profile,
so an
environment variable a
Does anyone have any examples of using Guix System as a network
router?
I am hoping to replace some Ubuntu server routers with Guix.
I found this post:
https://timmydouglas.com/2021/02/07/guix-router.html
I would prefer, though, not to need custom packages or channels,
if possible.
Thanks!
This looks great, thank you!
I will test it out as soon as I get a chance.
- Set up static IPv4-only networking.
For my particular case I would like a dynamic IP address on the
wan interface and static IP addresses on the lan interfaces if
that is possible.
To run without error, the code
GTK+ comes with broadwayd, which lets you use the browser to
render the
GUI. Here’s a quick example:
guix shell gtk+:bin -- broadwayd :5 &
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 guix shell abiword --
abiword
Then visit http://127.0.0.1:8085/ in your browser.
This is really interest
I am trying to run a GUI package (kicad) in a container on a
foreign distro (xubuntu) and I am running into several errors.
When I run the command:
guix shell kicad --container --preserve='^DISPLAY$'
--share=/tmp/.X11-unix -- kicad
I get a warning about the accessibility bus:
(kicad:1): dbi
I am trying to setup an oauth2 email account to work with Emacs
using mbsync (from the isync guix package) and mu4e.
I setup oauth2ms to fetch the token and setup mbsync to use
oauth2ms for the PassCmd and XOAUTH2 for the AuthMechs.
Now when I run mbsync, I get the error:
IMAP error: selecte
For what it's worth, kicad seems to work for me in a container.
I'm using Guix System with GNOME (guix 4716cea):
__
guix shell kicad -E "^DISPLAY$" -E "^XAUTHORITY$"
--expose="$XAUTHORITY"
--expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority
--expose=/etc/machine-id
--expose=$HOME/D
> Man this sounds complicated! haha. I use isync too...but I do the
> really really lazy (insecure) way via ~/.authinfo.
>
> Joshua
I wish I did not have to have such a complicated setup. My work email account
has just stopped allowing basic password authentication, however, so I can no
lon
Luis Felipe writes:
> For what it's worth, kicad seems to work for me in a
> container.
> I'm using Guix System with GNOME (guix 4716cea):
>
> __
> guix shell kicad -E "^DISPLAY$" -E "^XAUTHORITY$"
> --expose="$XAUTHORITY"
> --expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority
> -
In the root of every project directory, I now include a
channels.scm file and a manifest.scm file.
I was using direnv to automatically launch guix shell, but I
wanted more flexibility to easily launch variations of guix shell.
Now I am also including a Makefile in the root of every project
d
And then all you need to do is run ``guix shell'', and it will
automatically
pick up that manifest or package file.
That works well for just the "guix shell" command, but what if I
want shortcuts to a whole set of commands?
For example, I might want a command to automatically generate
proje
Why not just do:
guix shell -- make metadata
I do like the idea of not making it depend on guix.
One of the things I am trying to avoid, though, is typing long
guix commands.
When I type "make guix-shell", what I really want is something
like:
guix-shell:
guix time-machine -C chann
zimoun writes:
where I try to decouple what requires Guix and what not. Well,
I have
not tried, but the idea is then to run:
$ guix-serial-shell.sh make serial-shell
where the Makefile contains the rule:
serial-shell:
picocom -b 9600 -f n -y n -d 8 -p 1 -c $(PORT)
I real
zimoun writes:
$ cat Makefile
stuff:
which make
guixy:
@guix shell -C which make -- $(MAKE) stuff
$ which make
/usr/bin/make
$ make stuff
which make
/usr/bin/make
$ make guixy
which make
/gnu/store/dp8bar2xgzwz1yfm9lcafqn3vhs2cjqc-profile/bin/make
Cheers,
simon
I just w
zimoun writes:
Because calling “guix serial-shell PORT=/dev/ttyUSB0” or
“guix-serial-shell PORT=/dev/ttyUSB0” is almost identical. :-)
Yes good point.
So the true question is how to implement? If using Shell script
Using shell scripts would mean one script per command? I usually
have
Giovanni Biscuolo writes:
have you solved your problem?
No, I hate to admit that I have given up in frustration.
My work email unfortunately uses office365. I work for a large
nonprofit science foundation. I wish they only used free software,
but some of the enterprise software is propri
On Wed, 23 Aug 2023 17:12, Simon Tournier
wrote:
Yes, the images generated by Guix cannot considered as minimal.
:-)
Usually I am grateful that Guix packages are "maximal".
It would be wonderful, though, if some magical "--minimal" command
existed when creating a Guix container to make it
Hi,
I am looking for advice about the best way to create a
documentation workflow for my projects. Maybe using Guix is the
best way to solve this, maybe not.
I have a set of projects with a common theme, say each project is
a circuit board that I have designed. Each project has its own git
What is the proper way to package plugins when a packaged program
searches for them in the executable path rather than the profile
path?
I would like to package plugins for two programs, kicad and
freecad, and they both search for plugins by first finding the
path of the executable. Freecad u
Maxim Cournoyer writes:
These programs should be patched to honor e.g.
FREECAD_PLUGINS_PATH or
similar. Then a 'native-search-path' specification can be
attached to
the freecad packaged, and finding freecad plugins will happen in
any
profile.
The FREECAD_PLUGINS_PATH should be written wi
On Sunday, October 8th, 2023 at 10:28, Ekaitz Zarraga
wrote:
There are other ways to do it, but I find this the easiest.
You can even make a package for your firmware and let guix
compile it for you (and maybe flash it too?).
Cheers,
Ekaitz
I am also interested in using Guix packages for
Guillaume Le Vaillant writes:
Hi.
If you install the kicad-symbols and kicad-footprints packages,
kicad
should be able to find them using the KICAD7_*_DIR environment
variables.
For example, on the command line run:
guix shell kicad kicad-footprints kicad-symbols -- kicad
This puts link
phodina writes:
[1. text/plain]
Hi Peter and Guillaume,
thanks for the help.
I've tried to use the Guix shell to have a complete environment
for Kicad but for some reason it does not work (at least for me)
So here are the steps to reproduce:
$ guix shell kicad kicad-footprints kicad-sym
phodina writes:
Hi Peter and Guillaume,
thanks for the help.
I've tried to use the Guix shell to have a complete environment
for Kicad but for some reason it does not work (at least for me)
So here are the steps to reproduce:
$ guix shell kicad kicad-footprints kicad-symbols -- kicad
I
For every commit to the Guix master branch, is there a guarantee that there are
no packages with broken dependencies?
I have not experienced packages with broken dependencies, so I am curious how
that is checked. In theory, someone could make a commit that accidentally
breaks other packages cor
I have been unable to make the guix repository master branch
without it failing due to errors for maybe a week or more.
I am just curious if the repository occasionally gets into a
broken state and I just need to wait until some set of commits
fixes it eventually or if that means that somethin
Tomas Volf <~@wolfsden.cz> writes:
>
> Could you perhaps share the error you got?
>
DOT doc/images/service-graph.png
Error: Could not set character size
make[2]: *** [Makefile:7330: doc/images/service-graph.png] Error 1
make[2]: Leaving directory '/home/polidorop/guix'
make[1]: *** [Makefil
Guillaume Le Vaillant writes:
I also go this error recently. I was able to make it work by
using a container with "guix shell -C -D guix -- make".
That works, thanks!
Is it possible for ./pre-inst-env guix build to also be affected by my home
environment? If so, is it possible to run that
35 matches
Mail list logo