How to update a package recipe

Contents

How to update a package recipe#

The Forge provides a script for updating package recipes to the latest upstream versions.

To access it, start by entering the development environment:

nix develop

# or
nix-shell

Then, to see all available options run:

forge-update --help

Note

Update script can also be launched without entering the development environment:

nix develop --command forge-update

# or
nix-shell --run forge-update

Usage Examples#

Update individual recipes:

forge-update tau-tower

Update multiple recipes:

forge-update tau-tower tau-radio

Update all recipes:

forge-update --all

Update recipes and commit changes:

forge-update tau-radio --commit

Update recipes, but don’t prefetch hashes or modify recipe files:

forge-update tau-radio --dry-run