mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 14:04:52 +00:00
pythonPackages.monothonic: address #7307
This commit is contained in:
parent
3fca941aeb
commit
128e635d8a
@ -10570,6 +10570,11 @@ in modules // {
|
||||
url = "http://pypi.python.org/packages/source/m/monotonic/${name}.tar.gz";
|
||||
sha256 = "1diab6hfh3jpa1f0scpqaqrawk4g97ss4v7gkn2yw8znvdm6abw5";
|
||||
};
|
||||
|
||||
patchPhase = optionalString stdenv.isLinux ''
|
||||
substituteInPlace monotonic.py --replace \
|
||||
"ctypes.util.find_library('c')" "'${stdenv.glibc}/lib/libc.so.6'"
|
||||
'';
|
||||
};
|
||||
|
||||
MySQL_python = buildPythonPackage rec {
|
||||
|
Loading…
Reference in New Issue
Block a user