Making library available in NixOS to build makefile projects
0
votes
1
answer
43
views
I want to install the python package
wolfcrypt
under a python virtual environment (venv) as a one-off test to build a bootloader using wolfBoot
As many other python packages, it requires the python header files to bind and link properly. This is usually find as the package python-dev
in debian or python-devel
on red hat distros.
Do I have to write a .nix
file to do this one-off test?
I know I am [supposed to use nix-shell
](https://discourse.nixos.org/t/explain-how-do-system-c-libraries-and-headers-are-located/53669/2) in some capacity, but I simply don't understand where to get the libraries from and how to have them available when building the project.
I use nix-shell -p
to solve these kind of troubles usually, but I cannot find the package for the python library or the other libraries I need.
What is the simplest way to get references to those libs and perform a build with make
, or in my case a pip install wolfcrypt
?
Thank you for your time
Asked by AlexLoss
(183 rep)
May 7, 2025, 09:19 PM
Last activity: May 22, 2025, 09:42 AM
Last activity: May 22, 2025, 09:42 AM