joplin: fix build

Joplin broke after the update to python 3.12 because of missing
distutils. This change adds setuptools which replaces it and makes the
package build successfully.
This commit is contained in:
eljamm
2024-07-21 09:37:10 +01:00
parent 2d15595062
commit 68dff9dcf6
+2 -1
View File
@@ -88,6 +88,7 @@ final: prev: {
joplin = prev.joplin.override (oldAttrs:{
nativeBuildInputs = [
pkgs.pkg-config
(pkgs.python3.withPackages (ps: [ ps.setuptools ]))
] ++ lib.optionals stdenv.isDarwin [
pkgs.xcbuild
];
@@ -124,7 +125,7 @@ final: prev: {
meta = oldAttrs.meta // {
# ModuleNotFoundError: No module named 'distutils'
broken = true;
broken = stdenv.isDarwin; # still broken on darwin
};
});