webmacs: use GCC instead of clang

clang fails to build webmacs due to numerous errors relating to its use
of the C++ standard library.
This commit is contained in:
Randy Eckenrode 2023-11-10 00:36:17 -05:00
parent 9a0c85ffc5
commit f29fed8f5c
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9
2 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, mkDerivationWith
, fetchFromGitHub
, python3Packages
@ -6,6 +7,8 @@
}:
mkDerivationWith python3Packages.buildPythonApplication rec {
inherit stdenv;
pname = "webmacs";
version = "0.8";

View File

@ -36439,7 +36439,9 @@ with pkgs;
webex = callPackage ../applications/networking/instant-messengers/webex { };
webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs { };
webmacs = libsForQt5.callPackage ../applications/networking/browsers/webmacs {
stdenv = if stdenv.cc.isClang then gccStdenv else stdenv;
};
websploit = python3Packages.callPackage ../tools/security/websploit { };