mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-09-11 05:45:45 +03:00
Merge pull request #417 from nix-community/disable-package
doc: add section about disabling package updates
This commit is contained in:
commit
936918ca61
@ -24,6 +24,14 @@ r-ryantm gets its new version information from three sources:
|
|||||||
|
|
||||||
If none of these sources says the package is out of date, it will not attempt to update it.
|
If none of these sources says the package is out of date, it will not attempt to update it.
|
||||||
|
|
||||||
|
### Disabling package updates
|
||||||
|
|
||||||
|
Updates can be disabled by adding a comment to the package:
|
||||||
|
```
|
||||||
|
# nixpkgs-update: no auto update
|
||||||
|
```
|
||||||
|
[Example in nixpkgs](https://github.com/NixOS/nixpkgs/blob/f2294037ad2b1345c5d9c2df0e81bdb00eab21f3/pkgs/applications/version-management/gitlab/gitlab-pages/default.nix#L7)
|
||||||
|
|
||||||
### Skiplist
|
### Skiplist
|
||||||
|
|
||||||
We maintain a [Skiplist](https://github.com/ryantm/nixpkgs-update/blob/main/src/Skiplist.hs) of different things not to update. It is possible your package is triggering one of the skip criteria.
|
We maintain a [Skiplist](https://github.com/ryantm/nixpkgs-update/blob/main/src/Skiplist.hs) of different things not to update. It is possible your package is triggering one of the skip criteria.
|
||||||
|
Loading…
Reference in New Issue
Block a user