mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00: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
@ -13,15 +13,6 @@
|
||||
, 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 {
|
||||
pname = "gtk-doc";
|
||||
version = "1.32";
|
||||
@ -51,7 +42,8 @@ stdenv.mkDerivation rec {
|
||||
docbook_xsl
|
||||
libxslt
|
||||
pkgconfig
|
||||
python
|
||||
python3
|
||||
python3.pkgs.pygments # Needed for https://gitlab.gnome.org/GNOME/gtk-doc/blob/GTK_DOC_1_32/meson.build#L42
|
||||
libxml2Python
|
||||
]
|
||||
++ stdenv.lib.optional withDblatex dblatex
|
||||
|
Loading…
Reference in New Issue
Block a user