Skip to content

Commit

Permalink
python312Packages.openslide: fix patch (#379041)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Feb 3, 2025
2 parents 2c4005e + 1b99c58 commit b481c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/openslide/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ buildPythonPackage rec {

postPatch = ''
substituteInPlace openslide/lowlevel.py \
--replace-fail "return cdll.LoadLibrary(name)" "return cdll.LoadLibrary(f'${lib.getLib openslide}/lib/{name}')"
--replace-fail "return cdll.LoadLibrary(names[0])" "return cdll.LoadLibrary(f'${lib.getLib openslide}/lib/{names[0]}')"
'';

build-system = [ setuptools ];
Expand Down

0 comments on commit b481c66

Please sign in to comment.