summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-09-27 12:01:15 +0000
committerGitHub <noreply@github.com>2021-09-27 12:01:15 +0000
commit4b360da6568e51efe7009b6f003041a226beb410 (patch)
tree46763a3bedb917e8beb2b75403b9a3bcd55a40c3 /doc
parent7bb1bfbf29ca5816f1d28b4f0a613b523b15f49a (diff)
parent5c4181fa0c09c82b07d53a3ab564deb16b1fa841 (diff)
downloadnixpkgs-4b360da6568e51efe7009b6f003041a226beb410.tar
nixpkgs-4b360da6568e51efe7009b6f003041a226beb410.tar.gz
nixpkgs-4b360da6568e51efe7009b6f003041a226beb410.tar.bz2
nixpkgs-4b360da6568e51efe7009b6f003041a226beb410.tar.lz
nixpkgs-4b360da6568e51efe7009b6f003041a226beb410.tar.xz
nixpkgs-4b360da6568e51efe7009b6f003041a226beb410.tar.zst
nixpkgs-4b360da6568e51efe7009b6f003041a226beb410.zip
Merge master into staging-next
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/r.section.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/languages-frameworks/r.section.md b/doc/languages-frameworks/r.section.md
index 56e3da64df2..ad0fb10987c 100644
--- a/doc/languages-frameworks/r.section.md
+++ b/doc/languages-frameworks/r.section.md
@@ -96,6 +96,11 @@ re-enter the shell.
 
 ## Updating the package set {#updating-the-package-set}
 
+There is a script and associated environment for regenerating the package
+sets and synchronising the rPackages tree to the current CRAN and matching
+BIOC release. These scripts are found in the `pkgs/development/r-modules`
+directory and executed as follows:
+
 ```bash
 nix-shell generate-shell.nix
 
@@ -112,12 +117,11 @@ Rscript generate-r-packages.R bioc-experiment > bioc-experiment-packages.nix.new
 mv bioc-experiment-packages.nix.new bioc-experiment-packages.nix
 ```
 
-`generate-r-packages.R <repo>` reads  `<repo>-packages.nix`, therefor the renaming.
-
-## Testing if the Nix-expression could be evaluated {#testing-if-the-nix-expression-could-be-evaluated}
-
-```bash
-nix-build test-evaluation.nix --dry-run
-```
+`generate-r-packages.R <repo>` reads  `<repo>-packages.nix`, therefore
+the renaming.
 
-If this exits fine, the expression is ok. If not, you have to edit `default.nix`
+Some packages require overrides to specify external dependencies or other
+patches and special requirements. These overrides are specified in the
+`pkgs/development/r-modules/default.nix` file. As the `*-packages.nix`
+contents are automatically generated it should not be edited and broken
+builds should be addressed using overrides.