Unverified Commit e5d05613 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #330087 from Sigmanificient/libcgroup

libcgroup: 3.0 -> 3.1
parents 6fde146e 8d6d118c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, pam, bison, flex, autoreconfHook }:
{ lib, stdenv, fetchFromGitHub, pam, bison, flex, systemdLibs, autoreconfHook }:

stdenv.mkDerivation rec {
  pname = "libcgroup";
  version = "3.0";
  version = "3.1";

  src = fetchFromGitHub {
    owner = pname;
    repo = pname;
    rev = "v${version}";
    fetchSubmodules = true;
    hash = "sha256-x2yBqpr3LedtWmpZ4K1ipZxIualNJuDtC4FVGzzcQn8=";
    hash = "sha256-CnejQcOyW3QzHuvsAdKe4M4XgmG9ufRaEBdO48+8ZqQ=";
  };

  nativeBuildInputs = [ autoreconfHook bison flex ];
  buildInputs = [ pam ];
  buildInputs = [ pam systemdLibs ];

  postPatch = ''
    substituteInPlace src/tools/Makefile.am \