diff --git a/ci.sh b/ci.sh index f6a4ccb..b4fa04f 100755 --- a/ci.sh +++ b/ci.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash -# Test that the flake-registry.json format is sorted & valid +# Test that the flake-registry.json format is valid set -euo pipefail cd "$(dirname "$0")" # Ensure current flake-registry.json file is sorted. -nix registry list --tarball-ttl 0 --flake-registry "$PWD/flake-registry.json" \ - | grep -- '^global ' | LC_ALL=C sort -u -c +nix registry list --tarball-ttl 0 --flake-registry "$PWD/flake-registry.json" | + grep -- '^global ' nix run --flake-registry "$PWD/flake-registry.json" nixpkgs#hello diff --git a/flake-registry.json b/flake-registry.json index b5e62e1..70cbb5a 100644 --- a/flake-registry.json +++ b/flake-registry.json @@ -331,6 +331,89 @@ "type": "github" } }, + { + "from": { + "id": "nixpkgs", + "type": "indirect" + }, + "exact": true, + "to": { + "type": "tarball", + "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" + } + }, + { + "from": { + "id": "nixpkgs", + "type": "indirect", + "ref": "nixpkgs-unstable" + }, + "exact": true, + "to": { + "type": "tarball", + "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" + } + }, + { + "from": { + "id": "nixpkgs", + "type": "indirect", + "ref": "nixos-unstable" + }, + "exact": true, + "to": { + "type": "tarball", + "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz" + } + }, + { + "from": { + "id": "nixpkgs", + "type": "indirect", + "ref": "nixos-unstable-small" + }, + "exact": true, + "to": { + "type": "tarball", + "url": "https://channels.nixos.org/nixos-unstable-small/nixexprs.tar.xz" + } + }, + { + "from": { + "id": "nixpkgs", + "type": "indirect", + "ref": "nixos-26.05" + }, + "exact": true, + "to": { + "type": "tarball", + "url": "https://channels.nixos.org/nixos-26.05/nixexprs.tar.xz" + } + }, + { + "from": { + "id": "nixpkgs", + "type": "indirect", + "ref": "nixos-26.05-small" + }, + "exact": true, + "to": { + "type": "tarball", + "url": "https://channels.nixos.org/nixos-26.05-small/nixexprs.tar.xz" + } + }, + { + "from": { + "id": "nixpkgs", + "type": "indirect", + "ref": "nixpkgs-26.05-darwin" + }, + "exact": true, + "to": { + "type": "tarball", + "url": "https://channels.nixos.org/nixpkgs-26.05-darwin/nixexprs.tar.xz" + } + }, { "from": { "id": "nixpkgs",