docsets.gtk: dont ship, since the rtfm dependency doesnt cross-compile
This commit is contained in:
@@ -60,7 +60,7 @@ in {
|
||||
];
|
||||
sane.programs.docsets.config.pkgs = with pkgs; [
|
||||
# packages which ship docsets natively:
|
||||
docsets.gtk
|
||||
# docsets.gtk
|
||||
docsets.nix-builtins
|
||||
docsets.nixpkgs-lib
|
||||
docsets.python3-std
|
||||
|
@@ -4,8 +4,10 @@
|
||||
}:
|
||||
# rtfm docset viewer actually ships Crystal and Gtk docsets (the latter of which includes several deps like Gdk, Pango, etc),
|
||||
# so just extract those.
|
||||
# N.B.: `rtfm` depends on `webkitgtk_6_0` -- costly! TODO: may be possible to set `buildTargets = [ "docsets" ]` to avoid the gui deps.
|
||||
# TODO: rtfm's docsets don't include Info.plist: is that a problem?
|
||||
# N.B.: `rtfm` depends on `webkitgtk_6_0` -- costly!
|
||||
# TODO: may be possible to set `buildTargets = [ "docsets" ]` to avoid the gui deps.
|
||||
# or just build the gtk docset more directly, since i'll want to build similar things like glib in the future too.
|
||||
# N.B.: rtfm's docsets don't include Info.plist, but doesn't _seem_ to be a problem?
|
||||
runCommandLocal "gtk.docset" { } ''
|
||||
mkdir -p $out/share/docsets
|
||||
cp -R ${rtfm}/share/rtfm/docsets/Gtk.docset $out/share/docsets/gtk.docset
|
||||
|
Reference in New Issue
Block a user