From e051e0203fdac43c06f0e5f67ac88807de5ab279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 28 May 2024 17:03:34 +0200 Subject: [PATCH] use gitea tarball urls --- flake.lock | 16 +++++++--------- flake.nix | 3 ++- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index 7278198..67433af 100644 --- a/flake.lock +++ b/flake.lock @@ -43,17 +43,15 @@ ] }, "locked": { - "lastModified": 1716889250, - "narHash": "sha256-CkHMbl67d83o3FhABmMExK0lVvipGPxojSQZMN80tfY=", - "ref": "refs/heads/main", - "rev": "418e9937cbf8ba08557bf421d85b79bce69b3ca5", - "revCount": 2880, - "type": "git", - "url": "https://git.clan.lol/clan/clan-core" + "lastModified": 1716901339, + "narHash": "sha256-LGlFJ0+bydJdbvLLkfUx95mYMNHewyN3daq+UfhhRLs=", + "rev": "52584662a8b8217e11b6e057bcca1846b4cb2934", + "type": "tarball", + "url": "https://git.clan.lol/api/v1/repos/clan/clan-core/archive/52584662a8b8217e11b6e057bcca1846b4cb2934.tar.gz" }, "original": { - "type": "git", - "url": "https://git.clan.lol/clan/clan-core" + "type": "tarball", + "url": "https://git.clan.lol/clan/clan-core/archive/main.tar.gz" } }, "disko": { diff --git a/flake.nix b/flake.nix index cca84d4..e576194 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs"; treefmt-nix.url = "github:numtide/treefmt-nix"; @@ -17,7 +18,7 @@ # Use the version of nixpkgs that has been tested to work with SrvOS srvos.inputs.nixpkgs.follows = "nixpkgs"; - clan-core.url = "git+https://git.clan.lol/clan/clan-core"; + clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz"; clan-core.inputs.flake-parts.follows = "flake-parts"; clan-core.inputs.nixpkgs.follows = "nixpkgs"; clan-core.inputs.treefmt-nix.follows = "treefmt-nix";