summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-05-02 22:58:02 +0000
committerRobin Gloster <mail@glob.in>2016-05-02 22:58:02 +0000
commitc92bca56f8ea5623cf01952621455db308d0f330 (patch)
treef940e6e4fabd8e58b91fe885f9541205258023b2 /pkgs/tools/system
parent0fdde5efd08c036fe9d73b4e65f2ba9797053d0f (diff)
parent94520a25adc6b6bee799ec9dab344cfdad3f7180 (diff)
downloadnixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.gz
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.bz2
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.lz
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.xz
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.tar.zst
nixlib-c92bca56f8ea5623cf01952621455db308d0f330.zip
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/awstats/default.nix3
-rw-r--r--pkgs/tools/system/runit/default.nix6
-rw-r--r--pkgs/tools/system/stress-ng/default.nix4
-rw-r--r--pkgs/tools/system/thermald/default.nix7
4 files changed, 13 insertions, 7 deletions
diff --git a/pkgs/tools/system/awstats/default.nix b/pkgs/tools/system/awstats/default.nix
index f4a14155d689..2883a364548d 100644
--- a/pkgs/tools/system/awstats/default.nix
+++ b/pkgs/tools/system/awstats/default.nix
@@ -14,7 +14,8 @@ perlPackages.buildPerlPackage rec {
       --replace /usr/share/awstats/ "$out/wwwroot/cgi-bin/"
   '';
 
-  outputs = [ "out" "bin" "doc" ];
+  outputs = [ "out" "bin" "doc" ]; # bin just links the user-run executable
+  propagatedBuildOutputs = [ ]; # otherwise out propagates bin -> cycle
 
   buildInputs = with perlPackages; [ ]; # plugins will need some
 
diff --git a/pkgs/tools/system/runit/default.nix b/pkgs/tools/system/runit/default.nix
index 28c68f52aaf6..70c49335eafd 100644
--- a/pkgs/tools/system/runit/default.nix
+++ b/pkgs/tools/system/runit/default.nix
@@ -13,8 +13,12 @@ stdenv.mkDerivation rec {
 
   patches = [ ./Makefile.patch ];
 
-  buildPhase = ''
+  postPatch = ''
     cd ${name}
+    sed -i 's,-static,,g' src/Makefile
+  '';
+
+  buildPhase = ''
     make -C 'src'
   '';
 
diff --git a/pkgs/tools/system/stress-ng/default.nix b/pkgs/tools/system/stress-ng/default.nix
index 692fd250f836..17384da98819 100644
--- a/pkgs/tools/system/stress-ng/default.nix
+++ b/pkgs/tools/system/stress-ng/default.nix
@@ -2,10 +2,10 @@
 
 stdenv.mkDerivation rec {
   name = "stress-ng-${version}";
-  version = "0.05.18";
+  version = "0.05.25";
 
   src = fetchurl {
-    sha256 = "13x0cc4gfakz7vikc6b2vjbk1gw5awyp9i6843di7lnkx1ba177r";
+    sha256 = "13c94g06aswlhbv0cpsdrzym9jmbabkdm949j3h935gfdl1625v5";
     url = "http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${name}.tar.gz";
   };
 
diff --git a/pkgs/tools/system/thermald/default.nix b/pkgs/tools/system/thermald/default.nix
index dd28d5b2b1da..baa18aacdfb8 100644
--- a/pkgs/tools/system/thermald/default.nix
+++ b/pkgs/tools/system/thermald/default.nix
@@ -1,13 +1,14 @@
 { stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, dbus_libs, dbus_glib, libxml2 }:
 
 stdenv.mkDerivation rec {
-  version = "1.4.3";
   name = "thermald-${version}";
+  version = "1.5.3";
+
   src = fetchFromGitHub {
     owner = "01org";
     repo = "thermal_daemon";
     rev = "v${version}";
-    sha256 = "1wrbydmw1jc5dcjawhhsa52hilzajl9n849i09d2nfilv3qcqqi9";
+    sha256 = "0k10sl262d9slrln1vkgsxlr1pnfxzd3ycs552bl7ynf0zxpl48h";
   };
 
   buildInputs = [ autoconf automake libtool pkgconfig dbus_libs dbus_glib libxml2 ];
@@ -30,7 +31,7 @@ stdenv.mkDerivation rec {
 
   meta = with stdenv.lib; {
     description = "Thermal Daemon";
-    homepage = https://01.org/linux-thermal-daemon;
+    homepage = "https://01.org/linux-thermal-daemon";
     license = licenses.gpl2;
     platforms = platforms.linux;
     maintainers = with maintainers; [ abbradar ];