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:
parent
2d15595062
commit
68dff9dcf6
|
@ -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
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue