discord fix

This commit is contained in:
elwrcl committed 2026-05-30 16:27:53 +03:00
1 parent e56763ce25
commit cc44d6a1eb
2 files changed
+2 -88

No files matched your search

+2 -1
View File
@@ -4,7 +4,8 @@
nixpkgs.overlays = [
(_: prev: {
legcord = prev.legcord.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ prev.nodePackages.asar ];
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ prev.asar ];
postInstall = (old.postInstall or "") + ''
asarFile=$(find $out -name "app.asar" -print -quit)
asar extract "$asarFile" "$TMPDIR/legcord-src"