forked from pub-solar/infra
14 lines
243 B
Nix
14 lines
243 B
Nix
|
{
|
||
|
stdenvNoCC,
|
||
|
jq,
|
||
|
element-themes,
|
||
|
}:
|
||
|
stdenvNoCC.mkDerivation {
|
||
|
src = element-themes;
|
||
|
name = "element-themes";
|
||
|
nativeBuildInputs = [ jq ];
|
||
|
buildPhase = ''
|
||
|
find "$src" -name '*.json' -print0 | xargs -0 jq -s '.' > $out
|
||
|
'';
|
||
|
}
|