mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
gtk-doc: fix on darwin
We can't use shell scripts as shebangs so we drop using .withPackages and just add pygments to the build env to satiate meson's checks. https://github.com/NixOS/nixpkgs/pull/71221#issuecomment-543372945
This commit is contained in:
parent
d2c1c51ebc
commit
62e029cc2b
1 changed files with 2 additions and 10 deletions
|
@ -13,15 +13,6 @@
|
||||||
, withDblatex ? false, dblatex
|
, withDblatex ? false, dblatex
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
|
|
||||||
# Needed for https://gitlab.gnome.org/GNOME/gtk-doc/blob/GTK_DOC_1_32/meson.build#L42
|
|
||||||
python = python3.withPackages (p: with p; [
|
|
||||||
pygments
|
|
||||||
]);
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gtk-doc";
|
pname = "gtk-doc";
|
||||||
version = "1.32";
|
version = "1.32";
|
||||||
|
@ -51,7 +42,8 @@ stdenv.mkDerivation rec {
|
||||||
docbook_xsl
|
docbook_xsl
|
||||||
libxslt
|
libxslt
|
||||||
pkgconfig
|
pkgconfig
|
||||||
python
|
python3
|
||||||
|
python3.pkgs.pygments # Needed for https://gitlab.gnome.org/GNOME/gtk-doc/blob/GTK_DOC_1_32/meson.build#L42
|
||||||
libxml2Python
|
libxml2Python
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional withDblatex dblatex
|
++ stdenv.lib.optional withDblatex dblatex
|
||||||
|
|
Loading…
Reference in a new issue