diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2024-02-19 16:18:51 +0100 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2024-03-05 09:50:12 +0100 |
commit | de0d9fb92387035395ab09cba8d9a97dbc57e53e (patch) | |
tree | c73b92934a21f99e38e38a0d525972d6982b42f3 /pkgs | |
parent | 08334dba1d2a7d35a57b0c7496175a2b43ab36a0 (diff) |
twemoji-color-font: use finalAttrs pattern
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/data/fonts/twemoji-color-font/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/data/fonts/twemoji-color-font/default.nix b/pkgs/data/fonts/twemoji-color-font/default.nix index 2641fc1bc940..a6e65ce68955 100644 --- a/pkgs/data/fonts/twemoji-color-font/default.nix +++ b/pkgs/data/fonts/twemoji-color-font/default.nix @@ -3,14 +3,14 @@ , fetchurl }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "twemoji-color-font"; version = "14.0.2"; # We fetch the prebuilt font because building it takes 1.5 hours on hydra. # Relevant issue: https://github.com/NixOS/nixpkgs/issues/97871 src = fetchurl { - url = "https://github.com/eosrei/twemoji-color-font/releases/download/v${version}/TwitterColorEmoji-SVGinOT-Linux-${version}.tar.gz"; + url = "https://github.com/eosrei/twemoji-color-font/releases/download/v${finalAttrs.version}/TwitterColorEmoji-SVGinOT-Linux-${finalAttrs.version}.tar.gz"; sha256 = "sha256-aCbiHqCNxd8myIeuTlYEaYfg9JCd+MAsc94FcUoDU8E="; }; @@ -39,4 +39,4 @@ stdenv.mkDerivation rec { license = with licenses; [ cc-by-40 mit ]; maintainers = [ maintainers.fgaz ]; }; -} +}) |