1 2 3 4 5 6 7 8 9 10 11 12 13 14 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"; }