ruby_2_4: remove

According to https://endoflife.software/programming-languages/server-side-scripting/ruby
ruby 2.4 will go end-of-life in march, where the new release of nixpkgs
will be cut. We won't be able to support it for security updates.

Remove all references to ruby_2_4 and add ruby_2_7 instead where
missing.

Mark packages that depend on ruby 2.4 as broken:
* chefdk
* sonic-pi
This commit is contained in:
zimbatm
2019-12-28 12:29:24 +01:00
committed by worldofpeace
parent ccc54f0fc3
commit bcdc90a3a7
7 changed files with 14 additions and 31 deletions

View File

@@ -1,9 +1,9 @@
{ lib, bundlerEnv, bundlerUpdateScript, ruby_2_4, perl, autoconf }:
{ lib, bundlerEnv, bundlerUpdateScript, ruby, perl, autoconf }:
bundlerEnv {
name = "chef-dk-2.4.17";
ruby = ruby_2_4;
inherit ruby;
gemdir = ./.;
buildInputs = [ perl autoconf ];
@@ -16,5 +16,7 @@ bundlerEnv {
license = licenses.asl20;
maintainers = with maintainers; [ offline nicknovitski ];
platforms = platforms.unix;
# chefdk depends on ruby 2.4 which we don't support anymore
broken = true;
};
}