mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
discord
This commit is contained in:
3 files changed
+1
-21
No files matched your search
@@ -17,13 +17,13 @@ with pkgs;
|
|||||||
whatsapp-electron
|
whatsapp-electron
|
||||||
pkgs.ghostty_git
|
pkgs.ghostty_git
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
|
discord-canary
|
||||||
prismlauncher
|
prismlauncher
|
||||||
qbittorrent
|
qbittorrent
|
||||||
antigravity
|
antigravity
|
||||||
localsend
|
localsend
|
||||||
spotatui
|
spotatui
|
||||||
picotool
|
picotool
|
||||||
legcord
|
|
||||||
blender
|
blender
|
||||||
heroic
|
heroic
|
||||||
loupe
|
loupe
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
./gaming
|
./gaming
|
||||||
./hardware
|
./hardware
|
||||||
./networking
|
./networking
|
||||||
./overlays
|
|
||||||
./services
|
./services
|
||||||
./system
|
./system
|
||||||
./users
|
./users
|
||||||
|
|||||||
@@ -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"
|
|
||||||
'';
|
|
||||||
});
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user