1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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
No known key found for this signature in database
GPG key ID: 7630FDF7C8FB1F3F

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
};
});