fira-code: avoid use of rec

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

authored by scrumplex.net and committed by Robert Helgesson 8f8dc631 05b242b1

+3 -3
+3 -3
pkgs/data/fonts/fira-code/default.nix
··· 1 1 { lib, stdenvNoCC, fetchzip, useVariableFont ? true }: 2 2 3 - stdenvNoCC.mkDerivation rec { 3 + stdenvNoCC.mkDerivation (finalAttrs: { 4 4 pname = "fira-code"; 5 5 version = "6.2"; 6 6 7 7 src = fetchzip { 8 - url = "https://github.com/tonsky/FiraCode/releases/download/${version}/Fira_Code_v${version}.zip"; 8 + url = "https://github.com/tonsky/FiraCode/releases/download/${finalAttrs.version}/Fira_Code_v${finalAttrs.version}.zip"; 9 9 stripRoot = false; 10 10 hash = "sha256-UHOwZL9WpCHk6vZaqI/XfkZogKgycs5lWg1p0XdQt0A="; 11 11 }; ··· 31 31 maintainers = [ maintainers.rycee ]; 32 32 platforms = platforms.all; 33 33 }; 34 - } 34 + })