about summary refs log tree commit diff
path: root/pkgs/desktops/gnome/core/gnome-shell
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2022-01-09 00:34:32 +0100
committerJan Tojnar <jtojnar@gmail.com>2022-01-09 00:39:38 +0100
commit701f1c4c55be8ac28bf8fd5acf9d3bb6f047248b (patch)
tree965188df2d3ddcaa4237848cf5ab844f3b279709 /pkgs/desktops/gnome/core/gnome-shell
parent0b0fcb01c70ee40618fde848d87779e4444a46b9 (diff)
gnome.gnome-shell: switch to non-full asciidoc
The full variant does not seem to be actually needed,
allowing us to prune Java from the build closure.

In fact, the AsciiDoc/a2x tool is not actually used
at all when building from tarball because it contains
a pre-generated copy of the manual page.

Let’s remove the pregenerated file so that building
from tarball is more consistent with the VCS build
(e.g. when testing new versions or patches).
Diffstat (limited to 'pkgs/desktops/gnome/core/gnome-shell')
-rw-r--r--pkgs/desktops/gnome/core/gnome-shell/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/desktops/gnome/core/gnome-shell/default.nix b/pkgs/desktops/gnome/core/gnome-shell/default.nix
index 5e03551dceca0..5de52723d007f 100644
--- a/pkgs/desktops/gnome/core/gnome-shell/default.nix
+++ b/pkgs/desktops/gnome/core/gnome-shell/default.nix
@@ -55,7 +55,7 @@
 , gnome-clocks
 , gnome-settings-daemon
 , gnome-autoar
-, asciidoc-full
+, asciidoc
 , bash-completion
 , mesa
 }:
@@ -119,7 +119,7 @@ stdenv.mkDerivation rec {
     desktop-file-utils
     libxslt.bin
     python3
-    asciidoc-full
+    asciidoc
   ];
 
   buildInputs = [
@@ -180,6 +180,9 @@ stdenv.mkDerivation rec {
     chmod +x meson/postinstall.py
     patchShebangs meson/postinstall.py
 
+    # We can generate it ourselves.
+    rm -f man/gnome-shell.1
+
     substituteInPlace src/gnome-shell-extension-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
     substituteInPlace src/gnome-shell-perf-tool.in --replace "@PYTHON@" "${pythonEnv}/bin/python"
   '';