Overlays: Difference between revisions

imported>Tmillr
m grammar
imported>Tmillr
m typo
Line 307: Line 307:
=== R Packages Overlay ===
=== R Packages Overlay ===


Here is an example of an R packages overlay, in which it can be seen how to provide different versions of packages then those available in the current R version. It should be noted that in the case of R and Python the argument to <code>override</code> is named differently. Names of these can be find using <code>nix repl</code> and evaluating e.g. <code>python.override.__functionArgs</code>.
Here is an example of an R packages overlay, in which it can be seen how to provide different versions of packages then those available in the current R version. It should be noted that in the case of R and Python the argument to <code>override</code> is named differently. Names of these can be found using <code>nix repl</code> and evaluating e.g. <code>python.override.__functionArgs</code>.


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