mtxclient: remove -lgcc from NIX_LDFLAGS

This commit is contained in:
Weijia Wang 2023-03-04 00:26:43 +02:00
parent 3cbc5144cc
commit e545c0f05f
2 changed files with 1 additions and 7 deletions

View file

@ -53,9 +53,6 @@ stdenv.mkDerivation rec {
spdlog spdlog
]; ];
# https://github.com/NixOS/nixpkgs/issues/201254
NIX_LDFLAGS = lib.optionalString (stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU) "-lgcc";
meta = with lib; { meta = with lib; {
description = "Client API library for the Matrix protocol."; description = "Client API library for the Matrix protocol.";
homepage = "https://github.com/Nheko-Reborn/mtxclient"; homepage = "https://github.com/Nheko-Reborn/mtxclient";

View file

@ -22449,10 +22449,7 @@ with pkgs;
mtpfs = callPackage ../tools/filesystems/mtpfs { }; mtpfs = callPackage ../tools/filesystems/mtpfs { };
mtxclient = callPackage ../development/libraries/mtxclient { mtxclient = callPackage ../development/libraries/mtxclient { };
# https://github.com/NixOS/nixpkgs/issues/201254
stdenv = if stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU then gcc12Stdenv else stdenv;
};
mu = callPackage ../tools/networking/mu { mu = callPackage ../tools/networking/mu {
texinfo = texinfo4; texinfo = texinfo4;