flake-update-diff/utils/diff-evals.sh

14 lines
286 B
Bash
Raw Normal View History

2025-03-18 15:31:05 -04:00
#!/usr/bin/env nix
#! nix shell nixpkgs#bash nixpkgs#gnugrep nixpkgs#nvd --command bash
# diffs each derivation
set -x
set -v
set -e
script_path=$(dirname "$(readlink -f $0)")
parent_path=$(dirname "$script_path")
nix run . -- --compare-drvs --compare-output-to-file "$parent_path"