From 12beddee6f0a9525620ec2548e7a384362ca266f Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 29 Sep 2020 10:58:31 +0000 Subject: patches/thunderbird: build with Clang Like Firefox, Thunderbird 78 can't be built with GCC on AMD EPYC 7401P CPUs. See . --- overlays/patches/default.nix | 2 ++ overlays/patches/thunderbird/default.nix | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 overlays/patches/thunderbird/default.nix (limited to 'overlays') diff --git a/overlays/patches/default.nix b/overlays/patches/default.nix index eb1626c48499..88aa2ccf251c 100644 --- a/overlays/patches/default.nix +++ b/overlays/patches/default.nix @@ -17,6 +17,8 @@ self: super: { python3 = self.callPackage ./python { python = super.python3; }; + thunderbird = self.callPackage ./thunderbird { inherit (super) thunderbird; }; + tmux = self.callPackage ./tmux { inherit (super) tmux; }; waylandPkgs = self.extend (import ./nixpkgs-wayland); diff --git a/overlays/patches/thunderbird/default.nix b/overlays/patches/thunderbird/default.nix new file mode 100644 index 000000000000..79b489ee98b8 --- /dev/null +++ b/overlays/patches/thunderbird/default.nix @@ -0,0 +1,5 @@ +{ thunderbird, clangStdenv, ... } @ args: + +thunderbird.override ({ + stdenv = clangStdenv; +} // (builtins.removeAttrs args [ "clangStdenv" "thunderbird" ])) -- cgit 1.4.1