Loading pkgs/os-specific/linux/drbd/utils.nix +11 −5 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ keyutils, udevCheckHook, gettext, versionCheckHook, # drbd-utils are compiled twice, once with forOCF = true to extract # its OCF definitions for use in the ocf-resource-agents derivation, Loading @@ -25,12 +26,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="; }; Loading @@ -42,14 +43,16 @@ stdenv.mkDerivation rec { keyutils udevCheckHook gettext perl perlPackages.Po4a ]; buildInputs = [ perl perlPackages.Po4a gettext ]; strictDeps = true; configureFlags = [ "--libdir=${placeholder "out"}/lib" "--sbindir=${placeholder "out"}/bin" Loading Loading @@ -113,6 +116,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = [ "${placeholder "out"}/bin/drbdadm" ]; versionCheckProgramArg = "--version"; passthru.tests.drbd = nixosTests.drbd; Loading @@ -131,4 +137,4 @@ stdenv.mkDerivation rec { mirroring the content of block devices (hard disks, partitions, logical volumes etc.) between hosts. ''; }; } }) Loading
pkgs/os-specific/linux/drbd/utils.nix +11 −5 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ keyutils, udevCheckHook, gettext, versionCheckHook, # drbd-utils are compiled twice, once with forOCF = true to extract # its OCF definitions for use in the ocf-resource-agents derivation, Loading @@ -25,12 +26,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="; }; Loading @@ -42,14 +43,16 @@ stdenv.mkDerivation rec { keyutils udevCheckHook gettext perl perlPackages.Po4a ]; buildInputs = [ perl perlPackages.Po4a gettext ]; strictDeps = true; configureFlags = [ "--libdir=${placeholder "out"}/lib" "--sbindir=${placeholder "out"}/bin" Loading Loading @@ -113,6 +116,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; doInstallCheck = true; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = [ "${placeholder "out"}/bin/drbdadm" ]; versionCheckProgramArg = "--version"; passthru.tests.drbd = nixosTests.drbd; Loading @@ -131,4 +137,4 @@ stdenv.mkDerivation rec { mirroring the content of block devices (hard disks, partitions, logical volumes etc.) between hosts. ''; }; } })