diff --git a/pkgs/tools/typesetting/asciidoctor/default.nix b/pkgs/tools/typesetting/asciidoctor/default.nix index 495a5fcf8821..f494f1911593 100644 --- a/pkgs/tools/typesetting/asciidoctor/default.nix +++ b/pkgs/tools/typesetting/asciidoctor/default.nix @@ -1,8 +1,10 @@ -{ stdenv, lib, bundlerEnv, ruby_2_2, curl }: +{ stdenv, lib, bundlerEnv, ruby, curl }: -bundlerEnv rec { +bundlerEnv { pname = "asciidoctor"; - ruby = ruby_2_2; + + inherit ruby; + gemdir = ./.; meta = with lib; {