diff --git a/default.nix b/default.nix index 4b96be2..4a1246e 100644 --- a/default.nix +++ b/default.nix @@ -1,17 +1,16 @@ with (import {}); -let asciidoctor_revealjs = bundlerApp { - pname = "asciidoctor-revealjs"; - exes = [ "asciidoctor-revealjs" ]; +let + asciidoctor_revealjs = bundlerApp { + pname = "asciidoctor-revealjs"; + exes = [ "asciidoctor-revealjs" ]; + inherit ruby; + gemdir = ./.; + }; - inherit ruby; - gemdir = ./.; -}; - -in -derivation { +in derivation { name = "kafetech-fai"; builder = "${bash}/bin/bash"; - args = [ "-f" ./build.sh ]; + args = [ ./build.sh ]; inherit asciidoctor asciidoctor_revealjs coreutils jre graphviz; src = ./src; system = builtins.currentSystem;