aboutsummaryrefslogtreecommitdiff
path: root/tools/crumble-toCram.nix
blob: 6b2431f3ebc3002cbfe1b80536493d8c3d0c2d9e (plain)
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";
}