Skip to content

Commit d12176e

Browse files
committed
build: add override to build pygments
1 parent a383d86 commit d12176e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flake.nix

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
pythonEnv = pkgs.poetry2nix.mkPoetryEnv {
1111
projectDir = ./.;
1212
overrides = pkgs.poetry2nix.overrides.withDefaults (self: super: {
13+
pygments = super.pygments.overridePythonAttrs (old: {
14+
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ self.hatchling ];
15+
});
1316
pytest = super.pytest.overridePythonAttrs (
1417
old: { doCheck = false; doInstallCheck = false; }
1518
);

0 commit comments

Comments
 (0)