lol

doc: clarify location of rPackages overrides

Detail the location of rPackage overrides and how broken
builds should be addressed.

+13 -1
+13 -1
doc/languages-frameworks/r.section.md
··· 96 96 97 97 ## Updating the package set {#updating-the-package-set} 98 98 99 + There is a script and associated environment for regenerating the package 100 + sets and synchronising the rPackages tree to the current CRAN and matching 101 + BIOC release. These scripts are found in the `pkgs/development/r-modules` 102 + directory and executed as follows: 103 + 99 104 ```bash 100 105 nix-shell generate-shell.nix 101 106 ··· 112 117 mv bioc-experiment-packages.nix.new bioc-experiment-packages.nix 113 118 ``` 114 119 115 - `generate-r-packages.R <repo>` reads `<repo>-packages.nix`, therefor the renaming. 120 + `generate-r-packages.R <repo>` reads `<repo>-packages.nix`, therefore 121 + the renaming. 122 + 123 + Some packages require overrides to specify external dependencies or other 124 + patches and special requirements. These overrides are specified in the 125 + `pkgs/development/r-modules/default.nix` file. As the `*-packages.nix` 126 + contents are automatically generated it should not be edited and broken 127 + builds should be addressed using overrides.