git.iko.soy/typeable/nixpkgs
on master help sign in
Cassandra: add procps dep only on linux (#19299)
commitf038ea0faee8255db25cc3aa652200f05fcf36fb authorJoris Guyonvarch <joris@guyonvarch.me> dateThu 6 Oct 2016, 21:45 (10 years ago) parent3dee596
1 file changed+8−2
pkgs/servers/nosql/cassandra/generic.nix+8−2
pkgs/servers/nosql/cassandra/generic.nix+8−2
@@ -4,7 +4,13 @@
44
55let
66 libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
7− binPath = stdenv.lib.makeBinPath [ bash getopt gawk procps which jre ];
7+ binPath = with stdenv.lib; makeBinPath ([
8+ bash
9+ getopt
10+ gawk
11+ which
12+ jre
13+ ] ++ stdenv.lib.optional stdenv.isLinux procps);
814in
915
1016stdenv.mkDerivation rec {
@@ -42,7 +48,7 @@ stdenv.mkDerivation rec {
4248 meta = with stdenv.lib; {
4349 homepage = http://cassandra.apache.org/;
4450 description = "A massively scalable open source NoSQL database";
45− platforms = platforms.linux;
51+ platforms = platforms.unix;
4652 license = licenses.asl20;
4753 maintainers = with maintainers; [ nckx rushmorem cransom ];
4854 };