diff options
author | Joris Guyonvarch <joris@guyonvarch.me> | 2016-10-06 21:45:11 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-10-06 21:45:11 +0200 |
commit | f038ea0faee8255db25cc3aa652200f05fcf36fb (patch) | |
tree | c2bf38eba3824db1af8168709db8b349c34b4560 /pkgs/servers/nosql/cassandra/generic.nix | |
parent | 3dee596ed1e373c296cf4d5a09b937b41f27fbe5 (diff) | |
download | nixpkgs-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar nixpkgs-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.gz nixpkgs-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.bz2 nixpkgs-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.lz nixpkgs-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.xz nixpkgs-f038ea0faee8255db25cc3aa652200f05fcf36fb.tar.zst nixpkgs-f038ea0faee8255db25cc3aa652200f05fcf36fb.zip |
Cassandra: add procps dep only on linux (#19299)
Diffstat (limited to 'pkgs/servers/nosql/cassandra/generic.nix')
-rw-r--r-- | pkgs/servers/nosql/cassandra/generic.nix | 10 |
1 files changed, 8 insertions, 2 deletions
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 ]; }; |