aboutsummaryrefslogtreecommitdiff
path: root/overlays/nixcord-fix.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-07-29 12:50:32 +0200
committerschererleander <leander@schererleander.de>2025-07-29 12:50:32 +0200
commit0c1a189c5385c580f9522757f9c3974242134cbe (patch)
treef2a58e7218f0a4a5b11b1c72aad78c6dbae3ae7b /overlays/nixcord-fix.nix
parentbefe39931f94023aaa1abf977161a3dfc8487515 (diff)
feat: add styling
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 ];
+ });
+}