1
0
Fork 0
forked from pub-solar/infra
pub-solar-infra-new/overlays/pkgs/element-themes/default.nix

10 lines
236 B
Nix
Raw Normal View History

2023-11-19 14:49:57 +00:00
{ 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
'';
}