Python: Difference between revisions
imported>Samuela |
imported>Samuela |
||
| Line 51: | Line 51: | ||
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 <code> | Let's say, that nanomsg library fails to install in virtualenv. Then write a <code>shell.nix</code> file: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||