surrealdb-migrations: refactor

this shouldn't create any rebuilds
This commit is contained in:
quantenzitrone
2026-02-06 22:10:56 +01:00
parent 558c43c090
commit 209dec484b
@@ -7,17 +7,14 @@
nix-update-script,
}:
let
rustPlatform.buildRustPackage (finalAttrs: {
pname = "surrealdb-migrations";
version = "2.4.0";
in
rustPlatform.buildRustPackage {
inherit pname version;
src = fetchFromGitHub {
owner = "Odonno";
repo = "surrealdb-migrations";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-eeIXbpfXZ91XcQ+4T76BGZU0Ron5dAf2pUAvLj9nEok=";
};
@@ -59,4 +56,4 @@ rustPlatform.buildRustPackage {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ happysalada ];
};
}
})