2023-01-10 15:30:52 +00:00
|
|
|
flake_input@{ kpcli-py, nixgl, rust-overlay, neovim-nightly-overlay, ... }: [
|
2023-01-06 18:07:05 +00:00
|
|
|
|
2022-12-30 14:10:55 +00:00
|
|
|
nixgl.overlays.default
|
2023-01-06 18:07:05 +00:00
|
|
|
|
2022-12-30 14:10:55 +00:00
|
|
|
rust-overlay.overlays.default
|
2023-01-06 18:07:05 +00:00
|
|
|
|
2023-01-10 15:30:52 +00:00
|
|
|
neovim-nightly-overlay.overlay
|
|
|
|
|
2022-12-30 14:10:55 +00:00
|
|
|
(final: prev: {
|
|
|
|
# use python3.9, which works because of cython somehow?
|
|
|
|
kpcli-py = final.poetry2nix.mkPoetryApplication {
|
|
|
|
projectDir = kpcli-py;
|
|
|
|
python = final.python39;
|
|
|
|
overrides = final.poetry2nix.defaultPoetryOverrides.extend (self: super: {
|
|
|
|
# tableformatter requires setuptools
|
|
|
|
tableformatter = super.tableformatter.overridePythonAttrs (
|
|
|
|
old: {
|
|
|
|
buildInputs = (old.buildInputs or [ ]) ++ [ super.setuptools super.cython_3 ];
|
|
|
|
}
|
|
|
|
);
|
|
|
|
});
|
|
|
|
};
|
|
|
|
})
|
2023-01-06 18:07:05 +00:00
|
|
|
|
2022-12-30 14:10:55 +00:00
|
|
|
]
|
|
|
|
|