about summary refs log tree commit diff
path: root/pkgs/servers/monitoring
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-05-04 10:08:35 +0000
committerRobin Gloster <mail@glob.in>2016-05-04 10:11:04 +0000
commit9820cb1bf24254199db05856bbb4919378ac75cb (patch)
tree6c6bfeb09e5799573e7546419e3496a6fcf0863a /pkgs/servers/monitoring
parentaadaa913792b0fdeb68b02425e4f03d2f8286a1f (diff)
downloadnixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar
nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.gz
nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.bz2
nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.lz
nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.xz
nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.zst
nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.zip
use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r--pkgs/servers/monitoring/longview/default.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/servers/monitoring/longview/default.nix b/pkgs/servers/monitoring/longview/default.nix
index 9436f4bf300f..fd8a009b1670 100644
--- a/pkgs/servers/monitoring/longview/default.nix
+++ b/pkgs/servers/monitoring/longview/default.nix
@@ -11,15 +11,14 @@ stdenv.mkDerivation rec {
     sha256 = "1i6va44bx2zfgbld7znf1slph0iqidlahq2xh3kd8q4lhvbrjn02";
   };
 
-  patches =
-    [ # log to systemd journal
-      ./log-stdout.patch
-    ];
+  patches = [
+    # log to systemd journal
+    ./log-stdout.patch
+  ];
 
-  postPatch =
-    ''
-      substituteInPlace Linode/Longview/Util.pm --replace /var/run/longview.pid /run/longview.pid
-    '';
+  postPatch = ''
+    substituteInPlace Linode/Longview/Util.pm --replace /var/run/longview.pid /run/longview.pid
+  '';
 
   buildInputs = [ perl makeWrapper glibc ]
     ++ (with perlPackages; [
@@ -37,7 +36,8 @@ stdenv.mkDerivation rec {
       DBDmysql
     ]);
 
-  buildPhase = "true";
+  dontBuild = true;
+
   installPhase = ''
     mkdir -p $out/bin $out/usr
     mv Linode $out