mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
28 lines
353 B
Bash
28 lines
353 B
Bash
|
#! /usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
echo "Nix version:"
|
||
|
nix --version
|
||
|
|
||
|
cd flake-regressions
|
||
|
|
||
|
status=0
|
||
|
|
||
|
flakes=$(ls -d tests/*/*/* | head -n25)
|
||
|
|
||
|
echo "Running flake tests..."
|
||
|
|
||
|
for flake in $flakes; do
|
||
|
|
||
|
if ! REGENERATE=0 ./eval-flake.sh $flake; then
|
||
|
status=1
|
||
|
echo "❌ $flake"
|
||
|
else
|
||
|
echo "✅ $flake"
|
||
|
fi
|
||
|
|
||
|
done
|
||
|
|
||
|
exit "$status"
|