Cassandra: add procps dep only on linux (#19299)
This commit is contained in:
parent
3dee596ed1
commit
f038ea0fae
|
@ -4,7 +4,13 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
|
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
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -42,7 +48,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://cassandra.apache.org/;
|
homepage = http://cassandra.apache.org/;
|
||||||
description = "A massively scalable open source NoSQL database";
|
description = "A massively scalable open source NoSQL database";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ nckx rushmorem cransom ];
|
maintainers = with maintainers; [ nckx rushmorem cransom ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue