nix: fix bookwyrm package building on nixos-unstable
This commit is contained in:
parent
bb0a390f49
commit
2007c2f46a
1 changed files with 18 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, poetry2nix
|
||||
, python39
|
||||
, gettext
|
||||
, symlinkJoin
|
||||
}:
|
||||
|
@ -10,7 +9,6 @@ let
|
|||
poetryApp = poetry2nix.mkPoetryApplication rec {
|
||||
projectDir = bookwyrmSource;
|
||||
src = bookwyrmSource;
|
||||
python = python39;
|
||||
|
||||
# overrides are related to deps not getting the build systems they need
|
||||
# related poetry2nix issues:
|
||||
|
@ -29,6 +27,24 @@ let
|
|||
buildInputs = (prevAttrs.buildInputs or []) ++ [ final.poetry ];
|
||||
}
|
||||
);
|
||||
|
||||
django-sass-processor = prev.django-sass-processor.overridePythonAttrs (
|
||||
prevAttrs: {
|
||||
format = "setuptools";
|
||||
}
|
||||
);
|
||||
|
||||
opentelemetry-util-http = prev.opentelemetry-util-http.overridePythonAttrs (
|
||||
prevAttrs: {
|
||||
format = "setuptools";
|
||||
}
|
||||
);
|
||||
|
||||
django-imagekit = prev. django-imagekit.overridePythonAttrs (
|
||||
prevAttrs: {
|
||||
format = "setuptools";
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Add table
Reference in a new issue