3 , element-web-unwrapped
7 if (conf == { }) then element-web-unwrapped else
8 stdenv.mkDerivation rec {
9 pname = "${element-web-unwrapped.pname}-wrapped";
10 inherit (element-web-unwrapped) version meta;
14 nativeBuildInputs = [ jq ];
20 ln -s ${element-web-unwrapped}/* $out
22 jq -s '.[0] * $conf' "${element-web-unwrapped}/config.json" --argjson "conf" '${builtins.toJSON conf}' > "$out/config.json"