3
0
Fork 0
forked from mirrors/nixpkgs

Cassandra: add procps dep only on linux (#19299)

This commit is contained in:
Joris Guyonvarch 2016-10-06 21:45:11 +02:00 committed by Vladimír Čunát
parent 3dee596ed1
commit f038ea0fae

View file

@ -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 ];
};