Python: Difference between revisions

imported>Immae
Fix PIP_PREFIX in pip alias not working
imported>Samuela
No edit summary
Line 49: Line 49:
In some cases virtualenv fails to install a library because it requires patching on NixOS (example 1, example 2, general issue). In this cases it is better to replace those libraries with ones from Nix.
In some cases virtualenv fails to install a library because it requires patching on NixOS (example 1, example 2, general issue). In this cases it is better to replace those libraries with ones from Nix.


Let's say, that nanomsg library fails to install in virtualenv. Then write a `default.nix` file:
Let's say, that nanomsg library fails to install in virtualenv. Then write a <code>default.nix</code> file:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">