{twitter-color-emoji,noto-fonts-color-emoji}: Enable strictDeps
, Fix cross (#434587)
This commit is contained in:
commit
3e7fe80cc5
@ -3,6 +3,7 @@
|
|||||||
stdenvNoCC,
|
stdenvNoCC,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
buildPackages,
|
buildPackages,
|
||||||
|
python3Packages,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
cairo,
|
cairo,
|
||||||
imagemagick,
|
imagemagick,
|
||||||
@ -23,6 +24,8 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
hash = "sha256-GYBnMpSUDNjAOZtbRPSmbW39TWP5ljEMukQRwq4J9U4=";
|
hash = "sha256-GYBnMpSUDNjAOZtbRPSmbW39TWP5ljEMukQRwq4J9U4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
depsBuildBuild = [
|
depsBuildBuild = [
|
||||||
buildPackages.stdenv.cc
|
buildPackages.stdenv.cc
|
||||||
pkg-config
|
pkg-config
|
||||||
@ -35,7 +38,7 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
nototools
|
nototools
|
||||||
pngquant
|
pngquant
|
||||||
which
|
which
|
||||||
buildPackages.python3.pkgs.fonttools
|
python3Packages.fonttools
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -3,16 +3,8 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenvNoCC,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
cairo,
|
|
||||||
imagemagick,
|
|
||||||
nototools,
|
|
||||||
pkg-config,
|
|
||||||
pngquant,
|
|
||||||
python3,
|
|
||||||
which,
|
|
||||||
zopfli,
|
|
||||||
noto-fonts-color-emoji,
|
noto-fonts-color-emoji,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -27,7 +19,7 @@ let
|
|||||||
hash = "sha256-FLOqXDpSFyClBlG5u3IRL0EKeu1mckCfRizJh++IWxo=";
|
hash = "sha256-FLOqXDpSFyClBlG5u3IRL0EKeu1mckCfRizJh++IWxo=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "twitter-color-emoji";
|
pname = "twitter-color-emoji";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
@ -43,16 +35,7 @@ stdenv.mkDerivation rec {
|
|||||||
mv ${twemojiSrc.name} ${noto-fonts-color-emoji.src.name}
|
mv ${twemojiSrc.name} ${noto-fonts-color-emoji.src.name}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
inherit (noto-fonts-color-emoji) strictDeps depsBuildBuild nativeBuildInputs;
|
||||||
cairo
|
|
||||||
python3.pkgs.fonttools
|
|
||||||
imagemagick
|
|
||||||
nototools
|
|
||||||
pkg-config
|
|
||||||
pngquant
|
|
||||||
which
|
|
||||||
zopfli
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
let
|
let
|
||||||
|
Loading…
x
Reference in New Issue
Block a user