mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 22:44:56 +00:00
Merge pull request #221485 from wegank/kotatogram-desktop-fix
kotatogram-desktop: unbreak on aarch64-linux
This commit is contained in:
commit
a54102e3ec
@ -220,6 +220,6 @@ stdenv.mkDerivation rec {
|
|||||||
changelog = "https://github.com/kotatogram/kotatogram-desktop/releases/tag/k{version}";
|
changelog = "https://github.com/kotatogram/kotatogram-desktop/releases/tag/k{version}";
|
||||||
maintainers = with maintainers; [ ilya-fedin ];
|
maintainers = with maintainers; [ ilya-fedin ];
|
||||||
# never built on aarch64-darwin since first introduction in nixpkgs
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
||||||
broken = (stdenv.isDarwin && stdenv.isAarch64) || (stdenv.isLinux && stdenv.isAarch64);
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -31094,10 +31094,9 @@ with pkgs;
|
|||||||
Carbon AudioToolbox VideoToolbox VideoDecodeAcceleration AVFoundation CoreAudio CoreVideo
|
Carbon AudioToolbox VideoToolbox VideoDecodeAcceleration AVFoundation CoreAudio CoreVideo
|
||||||
CoreMediaIO QuartzCore AppKit CoreWLAN WebKit IOKit GSS MediaPlayer IOSurface Metal MetalKit;
|
CoreMediaIO QuartzCore AppKit CoreWLAN WebKit IOKit GSS MediaPlayer IOSurface Metal MetalKit;
|
||||||
|
|
||||||
# C++20 is required, aarch64 has gcc 9 by default
|
|
||||||
stdenv = if stdenv.isDarwin
|
stdenv = if stdenv.isDarwin
|
||||||
then darwin.apple_sdk_11_0.stdenv
|
then darwin.apple_sdk_11_0.stdenv
|
||||||
else if stdenv.isAarch64 then gcc10Stdenv else stdenv;
|
else stdenv;
|
||||||
|
|
||||||
# tdesktop has random crashes when jemalloc is built with gcc.
|
# tdesktop has random crashes when jemalloc is built with gcc.
|
||||||
# Apparently, it triggers some bug due to usage of gcc's builtin
|
# Apparently, it triggers some bug due to usage of gcc's builtin
|
||||||
|
Loading…
Reference in New Issue
Block a user