From a1ca3247f186634bc7cc9e08d2721687fa38ea9b Mon Sep 17 00:00:00 2001 From: Joel Date: Sat, 26 Feb 2022 14:51:55 +1000 Subject: [PATCH] steam-fonts: remove The source now returns a 404 and Steam no longer needs these fonts. --- pkgs/games/steam/default.nix | 1 - pkgs/games/steam/fhsenv.nix | 1 - pkgs/games/steam/fonts.nix | 20 -------------------- 3 files changed, 22 deletions(-) delete mode 100644 pkgs/games/steam/fonts.nix diff --git a/pkgs/games/steam/default.nix b/pkgs/games/steam/default.nix index bfe19a88ca98..430a2b3a67de 100644 --- a/pkgs/games/steam/default.nix +++ b/pkgs/games/steam/default.nix @@ -14,7 +14,6 @@ let steam-runtime = callPackage ./runtime.nix { }; steam-runtime-wrapped = callPackage ./runtime-wrapped.nix { }; steam = callPackage ./steam.nix { }; - steam-fonts = callPackage ./fonts.nix { }; steam-fhsenv = callPackage ./fhsenv.nix { glxinfo-i686 = pkgsi686Linux.glxinfo; steam-runtime-wrapped-i686 = diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index eb90c6dd24da..2bf2cf4ac280 100644 --- a/pkgs/games/steam/fhsenv.nix +++ b/pkgs/games/steam/fhsenv.nix @@ -16,7 +16,6 @@ let commonTargetPkgs = pkgs: with pkgs; [ - steamPackages.steam-fonts # Needed for operating system detection until # https://github.com/ValveSoftware/steam-for-linux/issues/5909 is resolved lsb-release diff --git a/pkgs/games/steam/fonts.nix b/pkgs/games/steam/fonts.nix deleted file mode 100644 index 65efd42a22a4..000000000000 --- a/pkgs/games/steam/fonts.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ stdenv, fetchurl, unzip }: - -stdenv.mkDerivation { - pname = "steam-fonts"; - version = "1"; - - src = fetchurl { - url = "https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip"; - sha256 = "1cgygmwich5f1jhhbmbkkpnzasjl8gy36xln76n6r2gjh6awqfx0"; - }; - - nativeBuildInputs = [ unzip ]; - - sourceRoot = "."; - - installPhase = '' - mkdir -p $out/share/fonts/truetype - cp -r *.TTF *.ttf $out/share/fonts/truetype - ''; -}