Nixpkgs/Update Scripts: Difference between revisions
mention nixpkgs-update |
Add instructions for disabling nixpkgs-update |
||
Line 52: | Line 52: | ||
}; | }; | ||
</syntaxhighlight>Source: https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/unstable-updater.nix | </syntaxhighlight>Source: https://github.com/NixOS/nixpkgs/blob/master/pkgs/common-updater/unstable-updater.nix | ||
=== Disabling nixpkgs-update for individual packages === | |||
Put the following comment somewhere in the package file: | |||
<syntaxhighlight lang="nix"> | |||
# nixpkgs-update: no auto update | |||
</syntaxhighlight> | |||
=== Additional Resources === | === Additional Resources === |