dejavu-fonts: fix missing Perl IOString dependency (#39341)

Per the docs, IOString was recently added as a dependency:
https://github.com/dejavu-fonts/dejavu-fonts/blob/master/BUILDING.md

As-is, attempting to rebulid from source errors out with this missing perl module.
This commit is contained in:
Benjamin Hipple 2018-04-22 18:24:44 -04:00 committed by Jörg Thalheim
parent cf540dd194
commit 9e9cc471b6
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{fetchFromGitHub, stdenv, fontforge, perl, FontTTF}:
{ fetchFromGitHub, stdenv, fontforge, perl, perlPackages }:
let
version = "2.37";
@ -25,7 +25,7 @@ let
full-ttf = stdenv.mkDerivation {
name = "dejavu-fonts-full-${version}";
nativeBuildInputs = [fontforge perl FontTTF];
nativeBuildInputs = [fontforge perl perlPackages.IOString perlPackages.FontTTF];
src = fetchFromGitHub {
owner = "dejavu-fonts";

View File

@ -14241,9 +14241,7 @@ with pkgs;
crimson = callPackage ../data/fonts/crimson {};
dejavu_fonts = lowPrio (callPackage ../data/fonts/dejavu-fonts {
inherit (perlPackages) FontTTF;
});
dejavu_fonts = lowPrio (callPackage ../data/fonts/dejavu-fonts {});
# solve collision for nix-env before https://github.com/NixOS/nix/pull/815
dejavu_fontsEnv = buildEnv {