Overlays: Difference between revisions
imported>C9xl7dq Add an example of an R packages overlay |
imported>C9xl7dq correct markup |
||
Line 284: | Line 284: | ||
=== 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 | 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 noticed 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>. | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> |