From a621b614ba777c406403d18693368836a25a55f1 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Fri, 28 Sep 2018 10:26:38 +1000 Subject: Add crumble --- tools/crumble-toCram.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/crumble-toCram.nix (limited to 'tools/crumble-toCram.nix') diff --git a/tools/crumble-toCram.nix b/tools/crumble-toCram.nix new file mode 100644 index 0000000..6b2431f --- /dev/null +++ b/tools/crumble-toCram.nix @@ -0,0 +1,15 @@ +{ stdenv +, lib +, callPackage +, crumble ? callPackage ./crumble-app.nix {} +, flags ? null}: + +with lib; + +input: + +stdenv.mkDerivation { + name = "crumble"; + buildInputs = [ crumble ]; + buildCommand = "crumble ${optionalString (flags != null) flags} ${input} $out"; +} -- cgit v1.2.3