Loading pkgs/by-name/ha/hack-font/package.nix +6 −7 Original line number Diff line number Diff line Loading @@ -2,24 +2,23 @@ lib, stdenvNoCC, fetchzip, installFonts, }: stdenvNoCC.mkDerivation rec { pname = "hack-font"; version = "3.003"; outputs = [ "out" ]; src = fetchzip { url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip"; hash = "sha256-SxF4kYp9aL/9L9EUniquFadzWt/+PcvhUQOIOvCrFRM="; }; installPhase = '' runHook preInstall install -Dm644 *.ttf -t $out/share/fonts/truetype runHook postInstall ''; nativeBuildInputs = [ installFonts ]; meta = { description = "Typeface designed for source code"; Loading Loading
pkgs/by-name/ha/hack-font/package.nix +6 −7 Original line number Diff line number Diff line Loading @@ -2,24 +2,23 @@ lib, stdenvNoCC, fetchzip, installFonts, }: stdenvNoCC.mkDerivation rec { pname = "hack-font"; version = "3.003"; outputs = [ "out" ]; src = fetchzip { url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip"; hash = "sha256-SxF4kYp9aL/9L9EUniquFadzWt/+PcvhUQOIOvCrFRM="; }; installPhase = '' runHook preInstall install -Dm644 *.ttf -t $out/share/fonts/truetype runHook postInstall ''; nativeBuildInputs = [ installFonts ]; meta = { description = "Typeface designed for source code"; Loading