don't depend on git for flake inputs

This makes migration of an existing machine without git installed
easier:

fixes:
https://git.clan.lol/clan/clan-core/issues/3465#issuecomment-28189
This commit is contained in:
Jörg Thalheim
2025-05-04 07:24:08 +02:00
parent 5ca344c285
commit 51a57ba962
2 changed files with 13 additions and 18 deletions

26
flake.lock generated
View File

@@ -16,17 +16,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1746304846, "lastModified": 1746334246,
"narHash": "sha256-NDE7OVBRVk0/gypIKwX4Pd8LpRJu64oXo8912uh/3/8=", "narHash": "sha256-YU4wtH9Y5yRjqbMwczOdDakOjSiTkOUP/JAYd1f3jBc=",
"ref": "refs/heads/main", "rev": "607ce65fbfe20bb38170b76826a11006f526c05d",
"rev": "6544fb9511c2686f07e373030dc3f6f9cf9fadb7", "type": "tarball",
"revCount": 428, "url": "https://git.clan.lol/api/v1/repos/clan/data-mesher/archive/607ce65fbfe20bb38170b76826a11006f526c05d.tar.gz"
"type": "git",
"url": "https://git.clan.lol/clan/data-mesher"
}, },
"original": { "original": {
"type": "git", "type": "tarball",
"url": "https://git.clan.lol/clan/data-mesher" "url": "https://git.clan.lol/clan/data-mesher/archive/main.tar.gz"
} }
}, },
"disko": { "disko": {
@@ -93,15 +91,13 @@
"locked": { "locked": {
"lastModified": 1745005516, "lastModified": 1745005516,
"narHash": "sha256-IVaoOGDIvAa/8I0sdiiZuKptDldrkDWUNf/+ezIRhyc=", "narHash": "sha256-IVaoOGDIvAa/8I0sdiiZuKptDldrkDWUNf/+ezIRhyc=",
"ref": "refs/heads/main",
"rev": "69d8bf596194c5c35a4e90dd02c52aa530caddf8", "rev": "69d8bf596194c5c35a4e90dd02c52aa530caddf8",
"revCount": 40, "type": "tarball",
"type": "git", "url": "https://git.clan.lol/api/v1/repos/clan/nix-select/archive/69d8bf596194c5c35a4e90dd02c52aa530caddf8.tar.gz"
"url": "https://git.clan.lol/clan/nix-select"
}, },
"original": { "original": {
"type": "git", "type": "tarball",
"url": "https://git.clan.lol/clan/nix-select" "url": "https://git.clan.lol/clan/nix-select/archive/main.tar.gz"
} }
}, },
"nixos-facter-modules": { "nixos-facter-modules": {

View File

@@ -23,10 +23,10 @@
treefmt-nix.url = "github:numtide/treefmt-nix"; treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs"; treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
nix-select.url = "git+https://git.clan.lol/clan/nix-select"; nix-select.url = "https://git.clan.lol/clan/nix-select/archive/main.tar.gz";
data-mesher = { data-mesher = {
url = "git+https://git.clan.lol/clan/data-mesher"; url = "https://git.clan.lol/clan/data-mesher/archive/main.tar.gz";
inputs = { inputs = {
flake-parts.follows = "flake-parts"; flake-parts.follows = "flake-parts";
nixpkgs.follows = "nixpkgs"; nixpkgs.follows = "nixpkgs";
@@ -40,7 +40,6 @@
inputs@{ inputs@{
flake-parts, flake-parts,
nixpkgs, nixpkgs,
self,
systems, systems,
... ...
}: }: