python3Packages.Nuitka: fix libuuid reference

This commit is contained in:
Ryan Burns 2021-12-09 18:34:36 -08:00
parent 581d2d6c9c
commit 5e72b07997

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.