diff --git a/nix/pkgs/pacemaker.nix b/nix/pkgs/pacemaker.nix index e9feb5c..51f38ae 100644 --- a/nix/pkgs/pacemaker.nix +++ b/nix/pkgs/pacemaker.nix @@ -1,6 +1,7 @@ { lib , stdenv -, autoreconfHook +, autoconf +, automake , bash , bzip2 , corosync @@ -27,17 +28,18 @@ stdenv.mkDerivation rec { pname = "pacemaker"; - version = "2.0.5"; + version = "2.1.1"; src = fetchFromGitHub { owner = "ClusterLabs"; repo = pname; rev = "Pacemaker-${version}"; - sha256 = "1wrdqdxbdl506ry6i5zqwmf66ms96hx2h6rn4jzpi5w13wg8sbm4"; + sha256 = "0grzw3yv6l8l83pi0pdn1fps3qh7hk3fl2xbv3vx1ixri29m3438"; }; nativeBuildInputs = [ - autoreconfHook + autoconf + automake libtool pkg-config ]; @@ -57,6 +59,8 @@ stdenv.mkDerivation rec { python3 ]; + preConfigure = "./autogen.sh"; + configureFlags = [ "--exec-prefix=${placeholder "out"}" "--sysconfdir=/etc"