flake-registry/ci.sh
Jonas Chevalier ba37c15310
add CI (#45)
Make sure that the schema stays valid
2023-04-09 11:27:23 +02:00

7 lines
179 B
Bash
Executable file

#!/usr/bin/env bash
# Test that the flake-registry.json format is valid
set -euo pipefail
cd "$(dirname "$0")"
nix run --flake-registry "$PWD/flake-registry.json" nixpkgs#hello