python3Packages.capstone: fix invalid sourceRoot

Follow-up of #152297
This commit is contained in:
midchildan 2022-01-05 00:55:30 +09:00
parent 57e660a35e
commit 4437f2441e
No known key found for this signature in database
GPG key ID: A64DE57FA5963935

View file

@ -10,7 +10,7 @@ buildPythonPackage rec {
version = lib.getVersion capstone;
src = capstone.src;
sourceRoot = "${capstone.name}/bindings/python";
sourceRoot = "source/bindings/python";
postPatch = ''
ln -s ${capstone}/lib/libcapstone${stdenv.targetPlatform.extensions.sharedLibrary} prebuilt/