Merge pull request #149964 from r-burns/nuitka

python3Packages.Nuitka: fix libuuid reference
This commit is contained in:
Ryan Burns 2021-12-10 18:46:47 -08:00 committed by GitHub
commit 7a8b5b4104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ buildPythonPackage rec {
postPatch = ''
patchShebangs tests/run-tests
'' + lib.optionalString stdenv.isLinux ''
substituteInPlace nuitka/plugins/standard/ImplicitImports.py --replace 'locateDLL("uuid")' '"${pkgs.util-linux.out}/lib/libuuid.so"'
substituteInPlace nuitka/plugins/standard/ImplicitImports.py --replace 'locateDLL("uuid")' '"${lib.getLib pkgs.util-linux}/lib/libuuid.so"'
'';
# We do not want any wrappers here.