diff options
author | Justin Bedo <cu@cua0.org> | 2021-09-24 21:17:37 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2021-09-24 21:25:53 +1000 |
commit | 9bc37bff1afd0bc3fc5b851ee4512ea4478fc583 (patch) | |
tree | 855e3d885fd606f586b9e8a3b5fcb1cd849c1fc7 /doc/languages-frameworks | |
parent | 3489318f65a7124b5f852d4f6f5a595e8f85a9af (diff) | |
download | nixpkgs-9bc37bff1afd0bc3fc5b851ee4512ea4478fc583.tar nixpkgs-9bc37bff1afd0bc3fc5b851ee4512ea4478fc583.tar.gz nixpkgs-9bc37bff1afd0bc3fc5b851ee4512ea4478fc583.tar.bz2 nixpkgs-9bc37bff1afd0bc3fc5b851ee4512ea4478fc583.tar.lz nixpkgs-9bc37bff1afd0bc3fc5b851ee4512ea4478fc583.tar.xz nixpkgs-9bc37bff1afd0bc3fc5b851ee4512ea4478fc583.tar.zst nixpkgs-9bc37bff1afd0bc3fc5b851ee4512ea4478fc583.zip |
rPackages: mark packages as broken when generating package sets
The current behaviour for generate-r-packages.R is to delete packages that have been remove upstream. This patch changes the behaviour to mark packages as broken rather than removing them. This has the advantage of never breaking expressions, which previously occured when a package with overrides in default.nix was deleted. As a result, the update procedure is simplified, allowing automated updates to the package tree to run, and additionally if a package is re-established upstream the previous overrides still exist.
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r-- | doc/languages-frameworks/r.section.md | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/languages-frameworks/r.section.md b/doc/languages-frameworks/r.section.md index 56e3da64df2..6b64e264b66 100644 --- a/doc/languages-frameworks/r.section.md +++ b/doc/languages-frameworks/r.section.md @@ -113,11 +113,3 @@ 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 -``` - -If this exits fine, the expression is ok. If not, you have to edit `default.nix` |