fix opensnitch (was completely borked)

This commit is contained in:
Grimmauld 2024-10-16 14:53:52 +02:00
parent 617a725abd
commit e68b43a812
Signed by: Grimmauld
GPG Key ID: C2946668769F91FB
2 changed files with 29 additions and 0 deletions

View File

@ -39,5 +39,6 @@
./factorio.nix
./ranger.nix
./ncspot.nix
./grpcio-tools.nix
];
}

28
overlays/grpcio-tools.nix Normal file
View File

@ -0,0 +1,28 @@
{ prev, final, ... }:
{
pythonPackagesOverlays = [
(python-final: python-prev: {
grpcio-tools = python-prev.grpcio-tools.overrideAttrs (old: {
version = "1.64.1";
src = prev.fetchPypi {
pname = "grpcio_tools";
version = "1.64.1";
hash = "sha256-crNVC5GtuDVGVuzw9tHUYRKZBEuuEfsefMHRu2a4wes=";
};
});
})
];
python311 =
let
self = prev.python311.override {
inherit self;
packageOverrides = prev.lib.composeManyExtensions final.pythonPackagesOverlays;
};
in
self;
python311Packages = final.python311.pkgs;
}