Jump to content

Overlays: Difference between revisions

2 bytes removed ,  5 January 2023
m
corrected typo
imported>Niols
(Add two examples of how to manually apply overlays in a flake context)
imported>Plants-mom
m (corrected typo)
Line 308: Line 308:
=== 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 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>.
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>.


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Anonymous user