diff options
Diffstat (limited to 'pkgs/development/python-modules/libnacl/default.nix')
-rw-r--r-- | pkgs/development/python-modules/libnacl/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/libnacl/default.nix b/pkgs/development/python-modules/libnacl/default.nix index ec6d1e442564..265bfeab5443 100644 --- a/pkgs/development/python-modules/libnacl/default.nix +++ b/pkgs/development/python-modules/libnacl/default.nix @@ -1,10 +1,11 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, libsodium -, pytestCheckHook +{ + lib, + stdenv, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + libsodium, + pytestCheckHook, }: buildPythonPackage rec { @@ -24,7 +25,9 @@ buildPythonPackage rec { buildInputs = [ libsodium ]; postPatch = - let soext = stdenv.hostPlatform.extensions.sharedLibrary; in + let + soext = stdenv.hostPlatform.extensions.sharedLibrary; + in '' substituteInPlace "./libnacl/__init__.py" \ --replace \ |