authentik: remove ruff dependency

This commit is contained in:
Luke Granger-Brown 2024-04-26 18:53:53 +01:00
parent 0df5056ab5
commit e7a9e69e98

View file

@ -4,6 +4,7 @@ let
inherit (depot.third_party) poetry2nix; inherit (depot.third_party) poetry2nix;
pyproject = pkgs.runCommand "authentik-pyproject" { src = "${src}/pyproject.toml"; } '' pyproject = pkgs.runCommand "authentik-pyproject" { src = "${src}/pyproject.toml"; } ''
sed 's/extras = \["standard"\],//' $src > $out sed 's/extras = \["standard"\],//' $src > $out
sed -i '/^ruff =/d' $out
''; '';
poetrylock = pkgs.runCommand "authentik-poetrylock" { src = "${src}/poetry.lock"; } '' poetrylock = pkgs.runCommand "authentik-poetrylock" { src = "${src}/poetry.lock"; } ''
sed -e 's/, markers = "extra == \\\"standard\\\""//' \ sed -e 's/, markers = "extra == \\\"standard\\\""//' \