drbd: use finalAttrs
This commit is contained in:
@@ -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.
|
||||
'';
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user