pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, freetype, fontconfig, libunwind, libtool, flex, bison }:
|
||||
{ lib, stdenv, fetchurl, freetype, fontconfig, libunwind, libtool, flex, bison }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ttf-mkfontdir-3.0.9-6";
|
||||
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
||||
url = "http://mirror.fsf.org/trisquel/pool/main/t/ttmkfdir/ttmkfdir_3.0.9.orig.tar.gz";
|
||||
sha256 = "0n6bmmndmp4c1myisvv7cby559gzgvwsw4rfw065a3f92m87jxiq";
|
||||
};
|
||||
|
||||
|
||||
# all the patches up from ttmkfdir-3.0.9/Makefile should be reviewed by someone
|
||||
# who knows more about C/C++ ..
|
||||
patches =
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
url = "http://mirror.fsf.org/trisquel/pool/main/t/ttmkfdir/ttmkfdir_3.0.9-6.diff.gz";
|
||||
sha256 = "141kxaf2by8nf87hqyszaxi0n7nnmswr1nh2i5r5bsvxxmaj9633";
|
||||
})
|
||||
|
||||
|
||||
./cstring.patch # also fixes some other compilation issues (freetype includes)
|
||||
];
|
||||
|
||||
@@ -27,6 +27,6 @@ stdenv.mkDerivation {
|
||||
|
||||
meta = {
|
||||
description = "Create fonts.dir for TTF font directory";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user