programs: signal-desktop: ship upstream nixpkgs version, patched to cross-compile
because signal is too much bullshit for me to maintain on my own
This commit is contained in:
@@ -20,7 +20,15 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# optionally, build this *mostly* from source (deps remain vendored), to allow e.g. for patching.
|
# optionally, build this *mostly* from source (deps remain vendored), to allow e.g. for patching.
|
||||||
packageUnwrapped = pkgs.signal-desktop-from-src;
|
# packageUnwrapped = pkgs.signal-desktop-from-src;
|
||||||
|
|
||||||
|
packageUnwrapped = pkgs.signal-desktop.overrideAttrs (upstream: {
|
||||||
|
installPhase = lib.replaceStrings
|
||||||
|
[ "NIXOS_OZONE_WL" "--ozone-platform-hint=auto" ]
|
||||||
|
[ "WAYLAND_DISPLAY" "--ozone-platform-hint=wayland" ]
|
||||||
|
upstream.installPhase
|
||||||
|
;
|
||||||
|
});
|
||||||
|
|
||||||
# or use the binary version:
|
# or use the binary version:
|
||||||
# packageUnwrapped = pkgs.signal-desktop.overrideAttrs (upstream: {
|
# packageUnwrapped = pkgs.signal-desktop.overrideAttrs (upstream: {
|
||||||
|
Reference in New Issue
Block a user