infra/overlays/pkgs/element-themes/default.nix
Akshay Mankar a2e7adbc79
All checks were successful
Flake checks / Check (pull_request) Successful in 22m49s
element: Add themes
2023-11-19 16:03:24 +01:00

10 lines
236 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
'';
}