summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authoroxalica <oxalicc@pm.me>2021-07-23 05:17:14 +0800
committeroxalica <oxalicc@pm.me>2021-07-23 05:38:54 +0800
commit27585b98971f8180e12592e694d38a19c072d1bf (patch)
tree0db5be3e3d7e8e730584d65c2f669356ff487e48 /pkgs/applications
parent6019d8abff9e4cc31001d2b9a55088bdefa245cd (diff)
downloadnixpkgs-27585b98971f8180e12592e694d38a19c072d1bf.tar
nixpkgs-27585b98971f8180e12592e694d38a19c072d1bf.tar.gz
nixpkgs-27585b98971f8180e12592e694d38a19c072d1bf.tar.bz2
nixpkgs-27585b98971f8180e12592e694d38a19c072d1bf.tar.lz
nixpkgs-27585b98971f8180e12592e694d38a19c072d1bf.tar.xz
nixpkgs-27585b98971f8180e12592e694d38a19c072d1bf.tar.zst
nixpkgs-27585b98971f8180e12592e694d38a19c072d1bf.zip
tdesktop: bundle the default font
It's worth to think about setting -DDESKTOP_APP_USE_PACKAGED_FONTS=OFF
since it's impossible to install fonts as dependencies of packages with
Nix and tdesktop's widgets are developed only with Open Sans in mind (it
has a lot of hardcoded values and wide fonts like DejaVu may
even go out of widgets' bounds)

https://github.com/NixOS/nixpkgs/pull/130827#issuecomment-885212649
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
index bdca4bb4fef..31aec0a4678 100644
--- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
@@ -81,6 +81,8 @@ in mkDerivation rec {
     # We're allowed to used the API ID of the Snap package:
     "-DTDESKTOP_API_ID=611335"
     "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c"
+    # See: https://github.com/NixOS/nixpkgs/pull/130827#issuecomment-885212649
+    "-DDESKTOP_APP_USE_PACKAGED_FONTS=OFF"
   ];
 
   # Note: The following packages could be packaged system-wide, but it's