Python: Difference between revisions
m extraLibPackages is not used in python-shell.nix. python-shell.nix re-import nixpkgs. |
Adisbladis (talk | contribs) m Remove mention of pip2nix. This tool just barely works and shouldn't be mentioned in this context. |
||
Line 64: | Line 64: | ||
]; | ]; | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight>Given the file above is named <code>toolz.nix</code> and is the same directory as the previous <code>shell.nix</code> , you can edit <code>shell.nix</code> to use the package <code>toolz</code> above like so: <syntaxhighlight lang="nix" line="1"> | ||
Given the file above is named <code>toolz.nix</code> and is the same directory as the previous <code>shell.nix</code> , you can edit <code>shell.nix</code> to use the package <code>toolz</code> above like so: <syntaxhighlight lang="nix" line="1"> | |||
# shell.nix | # shell.nix | ||
let | let |