flake: use tarball inputs for gitea

https://github.com/NixOS/nix/pull/11467#issuecomment-2341229679
This commit is contained in:
Guanran Wang 2024-10-19 13:43:25 +08:00
parent 2e3649cc9d
commit 1f046d8831
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 13 additions and 17 deletions

View file

@ -175,17 +175,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729312090, "lastModified": 1729316020,
"narHash": "sha256-Xw4rhHlVQBTa2PkzF+bjvgxSop0i46oY/zPBxlykveo=", "narHash": "sha256-ujO/zbXqnZ6xR1Pl7zW0f4pGA3Q9mARpCTRxoGkn9E8=",
"ref": "refs/heads/master", "rev": "c67ad664ffacf614ba6716bab41ac2f18b0e880e",
"rev": "24b6477ef84041093ec88c4719368f05297052d0", "type": "tarball",
"revCount": 11, "url": "https://git.ny4.dev/api/v1/repos/nyancat/ip-checker/archive/c67ad664ffacf614ba6716bab41ac2f18b0e880e.tar.gz"
"type": "git",
"url": "https://git.ny4.dev/nyancat/ip-checker"
}, },
"original": { "original": {
"type": "git", "type": "tarball",
"url": "https://git.ny4.dev/nyancat/ip-checker" "url": "https://git.ny4.dev/nyancat/ip-checker/archive/master.tar.gz"
} }
}, },
"lanzaboote": { "lanzaboote": {
@ -228,15 +226,13 @@
"locked": { "locked": {
"lastModified": 1726316254, "lastModified": 1726316254,
"narHash": "sha256-82snaLYq0U2Wt5Vy+gFUmOTrjKEHOhm0uqaT6ycLKXc=", "narHash": "sha256-82snaLYq0U2Wt5Vy+gFUmOTrjKEHOhm0uqaT6ycLKXc=",
"ref": "refs/heads/master",
"rev": "2c3b306495070c8b20a1f28f9f7143917bbff9e6", "rev": "2c3b306495070c8b20a1f28f9f7143917bbff9e6",
"revCount": 78, "type": "tarball",
"type": "git", "url": "https://git.ny4.dev/api/v1/repos/nyancat/nvim/archive/2c3b306495070c8b20a1f28f9f7143917bbff9e6.tar.gz"
"url": "https://git.ny4.dev/nyancat/nvim"
}, },
"original": { "original": {
"type": "git", "type": "tarball",
"url": "https://git.ny4.dev/nyancat/nvim" "url": "https://git.ny4.dev/nyancat/nvim/archive/master.tar.gz"
} }
}, },
"nixos-hardware": { "nixos-hardware": {

View file

@ -58,11 +58,11 @@
### Resources used for auto update ### Resources used for auto update
neovim = { neovim = {
url = "git+https://git.ny4.dev/nyancat/nvim"; url = "https://git.ny4.dev/nyancat/nvim/archive/master.tar.gz";
flake = false; flake = false;
}; };
ip-checker = { ip-checker = {
url = "git+https://git.ny4.dev/nyancat/ip-checker"; url = "https://git.ny4.dev/nyancat/ip-checker/archive/master.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils"; inputs.flake-utils.follows = "flake-utils";
inputs.systems.follows = "systems"; inputs.systems.follows = "systems";