From 64454713981e59cdf755fcf178539866493c3538 Mon Sep 17 00:00:00 2001 From: Candy Cloud Date: Sat, 7 Jan 2023 00:34:34 +0000 Subject: [PATCH] smiley-sans: add update script --- pkgs/data/fonts/smiley-sans/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/data/fonts/smiley-sans/default.nix b/pkgs/data/fonts/smiley-sans/default.nix index 234dcd0bfcb0..f90ae32d35c3 100644 --- a/pkgs/data/fonts/smiley-sans/default.nix +++ b/pkgs/data/fonts/smiley-sans/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenvNoCC, fetchzip }: +{ lib, stdenvNoCC, fetchzip, nix-update-script }: stdenvNoCC.mkDerivation rec { pname = "smiley-sans"; @@ -18,6 +18,10 @@ stdenvNoCC.mkDerivation rec { runHook postInstall ''; + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + meta = with lib; { description = "A condensed and oblique Chinese typeface seeking a visual balance between the humanist and the geometric"; homepage = "https://atelier-anchor.com/typefaces/smiley-sans/";