Skip to content

Commit

Permalink
p/minecraft-overviewer: fix packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
arachnist committed Jan 8, 2025
1 parent f9f4a4f commit 3b12bd6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions overlays/nibylandia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ in {
inherit (emoji-reactions) patches;
};

python311ForMCOverviewer = super.python311.override {
packageOverrides = self: super: {
python311MCOverviewer = super.python311.override {
packageOverrides = pyself: pysuper: {
pillow_with_headers =
self.callPackage ../pkgs/pillow-with-headers.nix { };
numpy = super.numpy.overrideAttrs
pyself.callPackage ../pkgs/pillow-with-headers.nix { };
numpy = pysuper.numpy.overrideAttrs
(super: { patches = super.patches ++ [ ../pkgs/numpy-gcc-14.patch ]; });
};
};

py311MCOPackages = self.python311ForMCOverviewer.pkgs;
py311MCOPackages = self.python311MCOverviewer.pkgs;

minecraft-overviewer =
self.py311MCOPackages.callPackage ../pkgs/minecraft-overviewer.nix { };
self.py311MCOPackages.callPackage ../pkgs/minecraft-overviewer.nix {
python3 = self.python311MCOverviewer;
};
}

0 comments on commit 3b12bd6

Please sign in to comment.