feat(nix): Updated flakes

This commit is contained in:
uttarayan21
2024-04-08 20:39:29 +05:30
parent e7ba412c20
commit 5b743ffe79
7 changed files with 137 additions and 159 deletions

View File

@@ -151,30 +151,30 @@
} $out/files
'';
};
catppuccin = final: prev: {
pythonPackagesExtensions =
prev.pythonPackagesExtensions
++ [
(
python-final: python-prev: {
catppuccin = python-prev.catppuccin.overridePythonAttrs (oldAttrs: rec {
version = "1.3.2";
# TODO: Move to subflake
src = prev.fetchFromGitHub {
owner = "catppuccin";
repo = "python";
rev = "refs/tags/v${version}";
hash = "sha256-spPZdQ+x3isyeBXZ/J2QE6zNhyHRfyRQGiHreuXzzik=";
};
# can be removed next version
disabledTestPaths = [
"tests/test_flavour.py" # would download a json to check correctness of flavours
];
});
}
)
];
};
# catppuccin = final: prev: {
# pythonPackagesExtensions =
# prev.pythonPackagesExtensions
# ++ [
# (
# python-final: python-prev: {
# catppuccin = python-prev.catppuccin.overridePythonAttrs (oldAttrs: rec {
# version = "1.3.2";
# # TODO: Move to subflake
# src = prev.fetchFromGitHub {
# owner = "catppuccin";
# repo = "python";
# rev = "refs/tags/v${version}";
# hash = "sha256-spPZdQ+x3isyeBXZ/J2QE6zNhyHRfyRQGiHreuXzzik=";
# };
# # can be removed next version
# disabledTestPaths = [
# "tests/test_flavour.py" # would download a json to check correctness of flavours
# ];
# });
# }
# )
# ];
# };
zellij = final: prev: {
zellijPlugins = {
zjstatus = inputs.zjstatus.packages.${prev.system}.default;
@@ -193,6 +193,6 @@ in [
inputs.nixvim.overlays.default
inputs.nur.overlay
inputs.neovim.overlays.default
catppuccin
# catppuccin
inputs.rust-overlay.overlays.default
]