about summary refs log tree commit diff
path: root/pkgs/servers/nosql/cassandra
diff options
context:
space:
mode:
authorJoris Guyonvarch <joris@guyonvarch.me>2016-10-06 21:45:11 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-10-06 21:45:11 +0200
commitf038ea0faee8255db25cc3aa652200f05fcf36fb (patch)
treec2bf38eba3824db1af8168709db8b349c34b4560 /pkgs/servers/nosql/cassandra
parent3dee596ed1e373c296cf4d5a09b937b41f27fbe5 (diff)
downloadnixlib-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar
nixlib-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.gz
nixlib-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.bz2
nixlib-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.lz
nixlib-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.xz
nixlib-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.zst
nixlib-f038ea0faee8255db25cc3aa652200f05fcf36fb.zip
Cassandra: add procps dep only on linux (#19299)
Diffstat (limited to 'pkgs/servers/nosql/cassandra')
-rw-r--r--pkgs/servers/nosql/cassandra/generic.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/servers/nosql/cassandra/generic.nix b/pkgs/servers/nosql/cassandra/generic.nix
index 5e364ba3e689..7541f76b40e1 100644
--- a/pkgs/servers/nosql/cassandra/generic.nix
+++ b/pkgs/servers/nosql/cassandra/generic.nix
@@ -4,7 +4,13 @@
 
 let
   libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
-  binPath = stdenv.lib.makeBinPath [ bash getopt gawk procps which jre ];
+  binPath = with stdenv.lib; makeBinPath ([
+    bash
+    getopt
+    gawk
+    which
+    jre
+  ] ++ stdenv.lib.optional stdenv.isLinux procps);
 in
 
 stdenv.mkDerivation rec {
@@ -42,7 +48,7 @@ stdenv.mkDerivation rec {
   meta = with stdenv.lib; {
     homepage = http://cassandra.apache.org/;
     description = "A massively scalable open source NoSQL database";
-    platforms = platforms.linux;
+    platforms = platforms.unix;
     license = licenses.asl20;
     maintainers = with maintainers; [ nckx rushmorem cransom ];
   };