tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
equibop: remove broken withSystemEquicord argument
gepbird.tngl.sh
5 months ago
e4e6cc24
96c91f1f
verified
This commit was signed with the committer's
known signature
.
gepbird.tngl.sh
SSH Key Fingerprint:
SHA256:MP2UpIRtJpbFFqyucP431H/FPCfn58UhEUTro4lXtRs=
+1
-26
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
eq
equibop
package.nix
use_system_equicord.patch
+1
-9
pkgs/by-name/eq/equibop/package.nix
···
17
nix-update-script,
18
withTTS ? true,
19
withMiddleClickScroll ? false,
20
-
# Enables the use of Equicord from nixpkgs instead of
21
-
# letting Equibop manage it's own version
22
-
withSystemEquicord ? false,
23
}:
24
stdenv.mkDerivation (finalAttrs: {
25
pname = "equibop";
···
65
66
patches = [
67
./disable_update_checking.patch
68
-
]
69
-
++ lib.optional withSystemEquicord (
70
-
replaceVars ./use_system_equicord.patch {
71
-
inherit equicord;
72
-
}
73
-
);
74
75
env = {
76
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
···
17
nix-update-script,
18
withTTS ? true,
19
withMiddleClickScroll ? false,
0
0
0
20
}:
21
stdenv.mkDerivation (finalAttrs: {
22
pname = "equibop";
···
62
63
patches = [
64
./disable_update_checking.patch
65
+
];
0
0
0
0
0
66
67
env = {
68
ELECTRON_SKIP_BINARY_DOWNLOAD = 1;
-17
pkgs/by-name/eq/equibop/use_system_equicord.patch
···
1
-
diff --git i/src/main/constants.ts w/src/main/constants.ts
2
-
index afb171f..c6a014e 100644
3
-
--- i/src/main/constants.ts
4
-
+++ w/src/main/constants.ts
5
-
@@ -30,10 +30,7 @@ export const VENCORD_THEMES_DIR = join(DATA_DIR, "themes");
6
-
7
-
// needs to be inline require because of circular dependency
8
-
// as otherwise "DATA_DIR" (which is used by ./settings) will be uninitialised
9
-
-export const VENCORD_DIR = (() => {
10
-
- const { State } = require("./settings") as typeof import("./settings");
11
-
- return State.store.equicordDir ? join(State.store.equicordDir, "equibop") : join(SESSION_DATA_DIR, "equicord.asar");
12
-
-})();
13
-
+export const VENCORD_DIR = "@equicord@";
14
-
15
-
export const USER_AGENT = `Equibop/${app.getVersion()} (https://github.com/Equicord/Equibop)`;
16
-
17
-
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0