Merge pull request #153486 from midchildan/fix/python-capstone

python3Packages.capstone: fix invalid sourceRoot
This commit is contained in:
Robert Scott 2022-01-04 21:07:12 +00:00 committed by GitHub
commit 4f95cfe37b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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