cozy: fix build (#341403)

This commit is contained in:
Aleksana
2024-09-13 09:39:03 +08:00
committed by GitHub
+8
View File
@@ -24,6 +24,14 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-oMgdz2dny0u1XV13aHu5s8/pcAz8z/SAOf4hbCDsdjw";
};
# FIX: The "Support Debian non-standard python paths" resolves to store path of python
postPatch = ''
substituteInPlace meson.build \
--replace-fail \
'from distutils.sysconfig import get_python_lib; print(get_python_lib(prefix=""))' \
"print(\"$out/${python3Packages.python.sitePackages}\")"
'';
nativeBuildInputs = [
meson
ninja