So, I’m trying to use a python app called “beeware”.
I’m using this shell.nix file to run it:
ith import <nixpkgs> { };
mkShell {
name = "impurePythonEnv";
venvDir = "./.venv";
buildInputs = [
libcanberra-gtk3
gtk3
cairo
gobject-introspection
pkg-config
fontconfig
gcc
(with python312Packages; [
numpy
pandas
venvShellHook
plotly
setuptools
cmake
python-fontconfig
])
];
postVenvCreation = ''
unset SOURCE_DATE_EPOCH
'';
postShellHook = ''
unset SOURCE_DATE_EPOCH
pip install --upgrade pip
pip install briefcase
clear
'';
}
All needed libs by beeware are listed here. The problem is that when I run briefcase dev
I get this error: OSError: libfontconfig.so.1: cannot open shared object file: No such file or directory
.