Python: Difference between revisions
imported>Krey No edit summary |
imported>Krey |
||
Line 14: | Line 14: | ||
in | in | ||
with pkgs; [ | with pkgs; [ | ||
(python3.withPackages myPythonPackages) | |||
# all your other (non-Python) packages | # all your other (non-Python) packages | ||
] | ] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 23: | Line 23: | ||
=== Explanation (optional) === | === Explanation (optional) === | ||
We defined a function <code>myPythonPackages</code> which takes as input a set | We defined a function <code>myPythonPackages</code> which takes as input a set <code>pythonPackages</code> and returns a list of attributes thereof. | ||
=== Dealing with missing/outdated packages === | === Dealing with missing/outdated packages === |