dqlite: use finalAttrs

This commit is contained in:
Sizhe Zhao 2025-06-08 13:21:23 +08:00
parent ecb8f8a922
commit aec172c0df
No known key found for this signature in database
GPG key ID: ED1807251A7DA08F

View file

@ -11,14 +11,14 @@
lxd-lts, lxd-lts,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "dqlite"; pname = "dqlite";
version = "1.18.1"; version = "1.18.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "canonical"; owner = "canonical";
repo = "dqlite"; repo = "dqlite";
tag = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-7ou077ozbpH21PcvEEcprr4UYJ/X398Ph9dh5C3YyBQ="; hash = "sha256-7ou077ozbpH21PcvEEcprr4UYJ/X398Ph9dh5C3YyBQ=";
}; };
@ -57,4 +57,4 @@ stdenv.mkDerivation rec {
maintainers = [ ]; maintainers = [ ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} })