This commit is contained in:
elwrcl committed 2026-05-30 19:09:21 +03:00
1 parent cc44d6a1eb
commit cbd7b5d5d2
3 files changed
+1 -21

No files matched your search

-1
View File
@@ -8,7 +8,6 @@
./gaming
./hardware
./networking
./overlays
./services
./system
./users
-19
View File
@@ -1,19 +0,0 @@
{ ... }:
{
nixpkgs.overlays = [
(_: prev: {
legcord = prev.legcord.overrideAttrs (old: {
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ prev.asar ];
postInstall = (old.postInstall or "") + ''
asarFile=$(find $out -name "app.asar" -print -quit)
asar extract "$asarFile" "$TMPDIR/legcord-src"
substituteInPlace "$TMPDIR/legcord-src/ts-out/main.js" \
--replace 'corsEnabled: false,' 'corsEnabled: true,'
asar pack "$TMPDIR/legcord-src" "$asarFile"
'';
});
})
];
}