home-assistant-custom-lovelace-modules.advanced-camera-card: fix for Yarn 4.14

This commit is contained in:
Dimitar Nestorov
2026-05-09 11:15:27 +03:00
committed by K900
parent 83ea488e89
commit e874654206
2 changed files with 29 additions and 2 deletions
@@ -20,12 +20,18 @@ stdenv.mkDerivation (finalAttrs: {
leaveDotGit = true; # gitInfo plugin
};
patches = [
# Remove after upstream updates to Yarn 4.14
# https://github.com/dermotduffy/advanced-camera-card/blob/main/package.json#L201
./yarn-4.14-support.patch
];
missingHashes = ./missing-hashes.json;
offlineCache = yarn-berry_4.fetchYarnBerryDeps {
name = "${finalAttrs.pname}-yarn-deps";
inherit (finalAttrs) src missingHashes;
hash = "sha256-N5GL9//CS33ntGu8v6i9+S38BDsXDD7HvOask1JflJ8=";
inherit (finalAttrs) src missingHashes patches;
hash = "sha256-4fdSeSxSjd8EjPmu7U3ftxB+OJJc2uuvM3Umr5iY/a8=";
};
nativeBuildInputs = [
@@ -0,0 +1,21 @@
diff --git a/.yarnrc.yml b/.yarnrc.yml
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -1 +1,6 @@
nodeLinker: node-modules
+
+approvedGitRepositories:
+ - "**"
+
+enableScripts: true
diff --git a/yarn.lock b/yarn.lock
--- a/yarn.lock
+++ b/yarn.lock
@@ -2,6 +2,6 @@
# Manual changes might be lost - proceed with caution!
__metadata:
- version: 8
+ version: 9
cacheKey: 10c0