Merge pull request #62 from xokdvium/channel-tarballs-hacks
Some checks are pending
Nix / build (push) Waiting to run
Some checks are pending
Nix / build (push) Waiting to run
Pull nixpkgs as tarball from channels.nixos.org (another try)
This commit is contained in:
commit
10bd3d9e8e
2 changed files with 86 additions and 3 deletions
6
ci.sh
6
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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue