home-assistant-custom-lovelace-modules.advanced-camera-card: fix for Yarn 4.14
This commit is contained in:
+8
-2
@@ -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 = [
|
||||
|
||||
+21
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user