signal-desktop: fix cross compilation
This commit is contained in:
@@ -670,6 +670,14 @@ in with final; {
|
||||
# });
|
||||
# });
|
||||
|
||||
signal-desktop = prev.signal-desktop.overrideAttrs (upstream: {
|
||||
buildPhase = lib.replaceStrings
|
||||
["-c.electronDist"]
|
||||
["${lib.optionalString stdenv.hostPlatform.isAarch64 "--arm64 "}-c.electronDist"]
|
||||
upstream.buildPhase
|
||||
;
|
||||
});
|
||||
|
||||
# 2025/05/01: upstreaming is blocked on glycin-loaders
|
||||
snapshot = prev.snapshot.override {
|
||||
# fixes "error: linker `cc` not found"
|
||||
|
@@ -72,6 +72,25 @@ in
|
||||
hash = "sha256-G9oUnE7dUmNQRu8kJSlEkgyVuQMgCGBRd6TYSCzifzg=";
|
||||
})
|
||||
|
||||
# TODO(2025-07-05): upstream!
|
||||
(fetchpatch' {
|
||||
name = "signal-desktop.webrtc: fix cross compilation";
|
||||
saneCommit = "33979df35a34c75a7ff5b304ec752b5c1c0ebaac";
|
||||
hash = "sha256-S/C0of6q270j/vTEy04to3Ze6NUgIW6rJG39RAtIir4=";
|
||||
})
|
||||
|
||||
(fetchpatch' {
|
||||
name = "signal-desktop.libsignal-node: fix cross compilation";
|
||||
saneCommit = "99e8523a1787a93139303c03ee8ae9ff860962d6";
|
||||
hash = "sha256-cBfM330yTRL1fJ9q6c26zgCa1FhLHe0cQv83s/Mc0AA=";
|
||||
})
|
||||
|
||||
(fetchpatch' {
|
||||
name = "signal-desktop.signal-sqlcipher: fix cross compilation";
|
||||
saneCommit = "5be6dd7f27937efc3da67848408573229ff8f817";
|
||||
hash = "sha256-IgZ8UkbeUJ1sskF9yG4FJNF2qJC32QSCXPRogK3IK/Y=";
|
||||
})
|
||||
|
||||
# (fetchpatch' {
|
||||
# # XXX(2025-01-06): patch does not produce valid binaries for cross
|
||||
# name = "lua-language-server: fix cross compiling";
|
||||
|
Reference in New Issue
Block a user