forked from mirrors/nixpkgs
xorg: detect if XORG_FONT_REQUIRED_PROG(MKFONTSCALE in generate-expr-from-tarballs
This commit is contained in:
parent
4c65406f57
commit
d6a9e82668
|
@ -70,7 +70,7 @@ self: with self; {
|
|||
}) {};
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
encodings = callPackage ({ stdenv, pkg-config, fetchurl }: stdenv.mkDerivation {
|
||||
encodings = callPackage ({ stdenv, pkg-config, fetchurl, mkfontscale }: stdenv.mkDerivation {
|
||||
pname = "encodings";
|
||||
version = "1.0.5";
|
||||
builder = ./builder.sh;
|
||||
|
@ -80,7 +80,7 @@ self: with self; {
|
|||
};
|
||||
hardeningDisable = [ "bindnow" "relro" ];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config mkfontscale ];
|
||||
buildInputs = [ ];
|
||||
meta.platforms = lib.platforms.unix;
|
||||
}) {};
|
||||
|
|
|
@ -154,7 +154,7 @@ while (<>) {
|
|||
push @nativeRequires, "bdftopcf";
|
||||
}
|
||||
|
||||
if ($file =~ /AC_PATH_PROG\(MKFONTSCALE/) {
|
||||
if ($file =~ /AC_PATH_PROG\(MKFONTSCALE/ || $file =~ /XORG_FONT_REQUIRED_PROG\(MKFONTSCALE/) {
|
||||
push @nativeRequires, "mkfontscale";
|
||||
}
|
||||
|
||||
|
|
|
@ -41,10 +41,6 @@ self: super:
|
|||
'';
|
||||
});
|
||||
|
||||
encodings = super.encodings.overrideAttrs (attrs: {
|
||||
nativeBuildInputs = attrs.nativeBuildInputs ++ [ self.mkfontscale ];
|
||||
});
|
||||
|
||||
editres = super.editres.overrideAttrs (attrs: {
|
||||
hardeningDisable = [ "format" ];
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue