Revert "telegram-desktop: work around ld64 hardening issue"
The ld64 issue has been fixed.
This reverts commit f5616cc38c.
This commit is contained in:
-12
@@ -34,7 +34,6 @@
|
||||
libjxl,
|
||||
libicns,
|
||||
apple-sdk_15,
|
||||
llvmPackages,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
@@ -68,11 +67,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# to build bundled libdispatch
|
||||
clang
|
||||
gobject-introspection
|
||||
]
|
||||
# Work around ld64's libc++ hardening issue causing Trace/BPT trap: 5
|
||||
# TODO: Remove once nixpkgs#536365 reaches this branch.
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
llvmPackages.lld
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -108,12 +102,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
# Work around ld64's libc++ hardening issue causing Trace/BPT trap: 5
|
||||
# TODO: Remove once nixpkgs#536365 reaches this branch.
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
NIX_CFLAGS_LINK = "-fuse-ld=lld";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
# We're allowed to used the API ID of the Snap package:
|
||||
(lib.cmakeFeature "TDESKTOP_API_ID" "611335")
|
||||
|
||||
Reference in New Issue
Block a user