drbd: use finalAttrs

This commit is contained in:
Stefan Frijters
2026-04-12 21:55:24 +02:00
parent 66e2ed3fa5
commit 4a94259658
+3 -3
View File
@@ -25,12 +25,12 @@
ocf-resource-agents,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "drbd";
version = "9.33.0";
src = fetchurl {
url = "https://pkg.linbit.com/downloads/drbd/utils/${pname}-utils-${version}.tar.gz";
url = "https://pkg.linbit.com/downloads/drbd/utils/drbd-utils-${finalAttrs.version}.tar.gz";
hash = "sha256-Ij/gfQtkbpkbM7qepBRo+aZvkDVi59p2bdD8a06jPbk=";
};
@@ -133,4 +133,4 @@ stdenv.mkDerivation rec {
mirroring the content of block devices (hard disks, partitions, logical volumes etc.) between hosts.
'';
};
}
})