aboutsummaryrefslogtreecommitdiff
path: root/tools/crumble-toCram.nix
blob: 2544e17901a65d0b13859c1db7a38d60b845f7d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ bionix
, nixpkgs
, flags ? null
}:

with nixpkgs;
with lib;

input:

stdenv.mkDerivation {
  name = "crumble";
  buildInputs = [ bionix.crumble.crumble ];
  buildCommand = "crumble ${optionalString (flags != null) flags} ${input} $out";
}