nixfiles/update.sh
NullBite 632255baff
Add update script
This script runs nix-update for custom packages and updates the
flake.lock file.

For some reason, nix-update doesn't use passthru.updateScript on a flake
package.
2024-11-18 17:53:13 -05:00

11 lines
169 B
Bash
Executable File

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update
set -Eeuxo pipefail
cd "$(dirname "$0")"
nix flake update
nix-update --flake redlib --version=branch=main