cgmanager: 0.36 -> 0.37
This commit is contained in:
parent
c53a13fe0e
commit
7a6b3bf688
@ -1,31 +1,21 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libnih, dbus }:
|
{ stdenv, fetchurl, pkgconfig, libnih, dbus }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cgmanager-0.36";
|
name = "cgmanager-0.37";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://linuxcontainers.org/downloads/cgmanager/${name}.tar.gz";
|
url = "https://linuxcontainers.org/downloads/cgmanager/${name}.tar.gz";
|
||||||
sha256 = "039azd4ghpmiccd95ki8fna321kccapff00rib6hrdgg600pyw7l";
|
sha256 = "0vkv8am6h3x89c1rqb6a1glwz3mik3065jigri96njjzmvrff2c3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig libnih dbus ];
|
buildInputs = [ pkgconfig libnih dbus ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-init-script=systemd"
|
"--with-init-script=systemd"
|
||||||
"--sysconfdir=/etc/"
|
"--sysconfdir=/etc"
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
];
|
];
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=\${out}" ];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
mv $out/$out/* $out
|
|
||||||
DIR=$out/$out
|
|
||||||
while rmdir $DIR 2>/dev/null; do
|
|
||||||
DIR="$(dirname "$DIR")"
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://linuxcontainers.org/cgmanager/introduction/;
|
homepage = https://linuxcontainers.org/cgmanager/introduction/;
|
||||||
description = "a central privileged daemon that manages all your cgroups";
|
description = "a central privileged daemon that manages all your cgroups";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user