wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Text rendering as blocks in the nix distribution

Open realhackcraft opened this issue 1 year ago • 1 comments

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

wezterm 20240203-110809-5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

No, and I'll explain why below

Describe the bug

I'm not upgrading to a nightly version because this issue is not present on the same version of wezterm, installed by homebrew.

The issue is that when I open wezterm, the font is just blocks.

From nix: Screenshot 2024-10-08 at 12 14 39

From homebrew: Screenshot 2024-10-08 at 12 17 59

To Reproduce

I have nix and Install wezterm from nix.

My nix config:

{
  description = "Hackcraft_'s Darwin system flake";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    nix-darwin.url = "github:LnL7/nix-darwin";
    nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = inputs@{ self, nix-darwin, nixpkgs }:
    let
      configuration = { pkgs, ... }: {
        # List packages installed in system profile. To search by name, run:
        # $ nix-env -qaP | grep wget
        environment.systemPackages =
          [
            pkgs.wezterm
            pkgs.neovim
            pkgs.tmux
          ];

        # Auto upgrade nix package and the daemon service.
        services.nix-daemon.enable = true;
        # nix.package = pkgs.nix;

        # Necessary for using flakes on this system.
        nix.settings.experimental-features = "nix-command flakes";

        # Create /etc/zshrc that loads the nix-darwin environment.
        programs.zsh.enable = true; # default shell on catalina
        # programs.fish.enable = true;

        # Set Git commit hash for darwin-version.
        system.configurationRevision = self.rev or self.dirtyRev or null;

        # Used for backwards compatibility, please read the changelog before changing.
        # $ darwin-rebuild changelog
        system.stateVersion = 5;

        # The platform the configuration will be used on.
        nixpkgs.hostPlatform = "aarch64-darwin";
      };
    in
    {
      # Build darwin flake using:
      # $ darwin-rebuild build --flake .#hackcraft
      darwinConfigurations."hackcraft" = nix-darwin.lib.darwinSystem {
        modules = [ configuration ];
      };

      # Expose the package set, including overlays, for convenience.
      darwinPackages = self.darwinConfigurations."hackcraft".pkgs;
    };
}

Configuration

no config

Expected Behavior

Text renders correctly

Logs

No response

Anything else?

No response

realhackcraft avatar Oct 08 '24 16:10 realhackcraft

Duplicate of https://github.com/wez/wezterm/issues/5990.

Have you tried to use front_end = "WebGpu" in your config?

bew avatar Oct 09 '24 08:10 bew

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Apr 04 '25 03:04 github-actions[bot]