home-assistant-custom-lovelace-modules.weather-radar-card: fix loading (#534997)

This commit is contained in:
Martin Weinelt
2026-06-29 13:50:58 +00:00
committed by GitHub
@@ -16,6 +16,11 @@ buildNpmPackage (finalAttrs: {
hash = "sha256-ZEd27lt5S7pnGGzTnxLV6voEpzXjvRjubjmusLuISZg=";
};
postPatch = ''
substituteInPlace src/radar-toolbar.ts \
--replace-fail "/local/community/weather-radar-card/" "/local/nixos-lovelace-modules/"
'';
npmDepsFetcherVersion = 2;
npmFlags = [ "--legacy-peer-deps" ];
npmDepsHash = "sha256-S3PZOcKBseohCKOUSRFCQj6fAJTrZLRD5916iB35rrc=";