pythonPackages.sharedLibraryExtension
This commit is contained in:
parent
bed819afc7
commit
5b7b91f6b3
@ -67,10 +67,14 @@ let
|
|||||||
else throw "Unsupported kind ${kind}");
|
else throw "Unsupported kind ${kind}");
|
||||||
in fetcher (builtins.removeAttrs attrs ["format"]);
|
in fetcher (builtins.removeAttrs attrs ["format"]);
|
||||||
|
|
||||||
|
# This should become part of stdenv!
|
||||||
|
sharedLibraryExtension = if stdenv.isDarwin then ".dylib" else ".so";
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
inherit python bootstrapped-pip pythonAtLeast pythonOlder isPy26 isPy27 isPy33 isPy34 isPy35 isPy36 isPyPy isPy3k mkPythonDerivation buildPythonPackage buildPythonApplication;
|
inherit python bootstrapped-pip pythonAtLeast pythonOlder isPy26 isPy27 isPy33 isPy34 isPy35 isPy36 isPyPy isPy3k mkPythonDerivation buildPythonPackage buildPythonApplication;
|
||||||
inherit fetchPypi;
|
inherit fetchPypi;
|
||||||
|
inherit sharedLibraryExtension;
|
||||||
|
|
||||||
# helpers
|
# helpers
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user