aboutsummaryrefslogtreecommitdiff
path: root/overlays/nixcord-fix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/nixcord-fix.nix')
-rw-r--r--overlays/nixcord-fix.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/overlays/nixcord-fix.nix b/overlays/nixcord-fix.nix
new file mode 100644
index 0000000..e35b7b6
--- /dev/null
+++ b/overlays/nixcord-fix.nix
@@ -0,0 +1,21 @@
+self: super: {
+ vencord = super.vencord.overrideAttrs (old: rec {
+ pname = "vencord";
+ version = "1.12.7";
+
+ src = super.fetchFromGitHub {
+ owner = "Vencord";
+ repo = "Vencord";
+ rev = "v${version}";
+ sha256 = "sha256-NEW_HASH_FROM_BUILD";
+ };
+
+ pnpmDeps = super.fetchPnpmDeps {
+ inherit src;
+ lockfile = "${src}/pnpm-lock.yaml";
+ sha256 = "sha256-QiD4qTRtz5vz0EEc6Q08ej6dbVGMlPLU2v0GVKNBQyc="; # ← from error message
+ };
+
+ nativeBuildInputs = old.nativeBuildInputs ++ [ super.nodejs ];
+ });
+}