summary refs log tree commit diff
path: root/pkgs/os-specific/linux/cgmanager/default.nix
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-07-31 17:07:44 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-07-31 17:11:11 -0700
commit7a6b3bf6880b45f1a55ff371564f5c91e26d781f (patch)
treee089fc4126571fe387012a541134ed0bdee2f803 /pkgs/os-specific/linux/cgmanager/default.nix
parentc53a13fe0e11cab6bbd8877205b3a1da6fa2592f (diff)
downloadnixpkgs-7a6b3bf6880b45f1a55ff371564f5c91e26d781f.tar
nixpkgs-7a6b3bf6880b45f1a55ff371564f5c91e26d781f.tar.gz
nixpkgs-7a6b3bf6880b45f1a55ff371564f5c91e26d781f.tar.bz2
nixpkgs-7a6b3bf6880b45f1a55ff371564f5c91e26d781f.tar.lz
nixpkgs-7a6b3bf6880b45f1a55ff371564f5c91e26d781f.tar.xz
nixpkgs-7a6b3bf6880b45f1a55ff371564f5c91e26d781f.tar.zst
nixpkgs-7a6b3bf6880b45f1a55ff371564f5c91e26d781f.zip
cgmanager: 0.36 -> 0.37
Diffstat (limited to 'pkgs/os-specific/linux/cgmanager/default.nix')
-rw-r--r--pkgs/os-specific/linux/cgmanager/default.nix16
1 files changed, 3 insertions, 13 deletions
diff --git a/pkgs/os-specific/linux/cgmanager/default.nix b/pkgs/os-specific/linux/cgmanager/default.nix
index 79be500a13d..8f56eda3a1b 100644
--- a/pkgs/os-specific/linux/cgmanager/default.nix
+++ b/pkgs/os-specific/linux/cgmanager/default.nix
@@ -1,31 +1,21 @@
 { stdenv, fetchurl, pkgconfig, libnih, dbus }:
 
 stdenv.mkDerivation rec {
-  name = "cgmanager-0.36";
+  name = "cgmanager-0.37";
 
   src = fetchurl {
     url = "https://linuxcontainers.org/downloads/cgmanager/${name}.tar.gz";
-    sha256 = "039azd4ghpmiccd95ki8fna321kccapff00rib6hrdgg600pyw7l";
+    sha256 = "0vkv8am6h3x89c1rqb6a1glwz3mik3065jigri96njjzmvrff2c3";
   };
 
   buildInputs = [ pkgconfig libnih dbus ];
 
   configureFlags = [
     "--with-init-script=systemd"
-    "--sysconfdir=/etc/"
+    "--sysconfdir=/etc"
     "--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; {
     homepage = https://linuxcontainers.org/cgmanager/introduction/;
     description = "a central privileged daemon that manages all your cgroups";