From f038ea0faee8255db25cc3aa652200f05fcf36fb Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Thu, 6 Oct 2016 21:45:11 +0200 Subject: Cassandra: add procps dep only on linux (#19299) --- pkgs/servers/nosql/cassandra/generic.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pkgs/servers/nosql/cassandra/generic.nix') diff --git a/pkgs/servers/nosql/cassandra/generic.nix b/pkgs/servers/nosql/cassandra/generic.nix index 5e364ba3e68..7541f76b40e 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 ]; }; -- cgit 1.4.1