diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 77c648c39dc..5f47c859a8e 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -3760,6 +3760,11 @@
github = "twey";
name = "James ‘Twey’ Kay";
};
+ typetetris = {
+ email = "ericwolf42@mail.com";
+ github = "typetetris";
+ name = "Eric Wolf";
+ };
unode = {
email = "alves.rjc@gmail.com";
github = "unode";
diff --git a/nixos/lib/test-driver/Machine.pm b/nixos/lib/test-driver/Machine.pm
index 78598b3efb4..7e269b43e70 100644
--- a/nixos/lib/test-driver/Machine.pm
+++ b/nixos/lib/test-driver/Machine.pm
@@ -612,7 +612,7 @@ sub waitForX {
my ($self, $regexp) = @_;
$self->nest("waiting for the X11 server", sub {
retry sub {
- my ($status, $out) = $self->execute("journalctl -b SYSLOG_IDENTIFIER=systemd | grep 'session opened'");
+ my ($status, $out) = $self->execute("journalctl -b SYSLOG_IDENTIFIER=systemd | grep 'Reached target Current graphical'");
return 0 if $status != 0;
($status, $out) = $self->execute("[ -e /tmp/.X11-unix/X0 ]");
return 1 if $status == 0;
diff --git a/nixos/lib/testing.nix b/nixos/lib/testing.nix
index d990a5f8b6a..57acc990a48 100644
--- a/nixos/lib/testing.nix
+++ b/nixos/lib/testing.nix
@@ -111,6 +111,8 @@ in rec {
ocrProg = tesseract_4.override { enableLanguages = [ "eng" ]; };
+ imagemagick_tiff = imagemagick_light.override { inherit libtiff; };
+
# Generate onvenience wrappers for running the test driver
# interactively with the specified network, and for starting the
# VMs from the command line.
@@ -128,7 +130,7 @@ in rec {
wrapProgram $out/bin/nixos-test-driver \
--add-flags "''${vms[*]}" \
${lib.optionalString enableOCR
- "--prefix PATH : '${ocrProg}/bin:${imagemagick}/bin'"} \
+ "--prefix PATH : '${ocrProg}/bin:${imagemagick_tiff}/bin'"} \
--run "export testScript=\"\$(cat $out/test-script)\"" \
--set VLANS '${toString vlans}'
ln -s ${testDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix
index 42d5d233f1c..621ca36fb6b 100644
--- a/nixos/modules/config/users-groups.nix
+++ b/nixos/modules/config/users-groups.nix
@@ -92,7 +92,7 @@ let
group = mkOption {
type = types.str;
- apply = x: assert (builtins.stringLength x < 17 || abort "Group name '${x}' is longer than 16 characters which is not allowed!"); x;
+ apply = x: assert (builtins.stringLength x < 32 || abort "Group name '${x}' is longer than 31 characters which is not allowed!"); x;
default = "nogroup";
description = "The user's primary group.";
};
diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix
index d9646704e6f..b371af353cf 100644
--- a/nixos/modules/hardware/opengl.nix
+++ b/nixos/modules/hardware/opengl.nix
@@ -14,7 +14,6 @@ let
name = "mesa-drivers+txc-${p.mesa_drivers.version}";
paths =
[ p.mesa_drivers
- p.mesa_drivers.out # mainly for libGL
(if cfg.s3tcSupport then p.libtxc_dxtn else p.libtxc_dxtn_s2tc)
];
};
@@ -33,89 +32,92 @@ in
{
options = {
- hardware.opengl.enable = mkOption {
- description = ''
- Whether to enable OpenGL drivers. This is needed to enable
- OpenGL support in X11 systems, as well as for Wayland compositors
- like sway, way-cooler and Weston. It is enabled by default
- by the corresponding modules, so you do not usually have to
- set it yourself, only if there is no module for your wayland
- compositor of choice. See services.xserver.enable,
- programs.sway.enable, and programs.way-cooler.enable.
- '';
- type = types.bool;
- default = false;
- };
- hardware.opengl.driSupport = mkOption {
- type = types.bool;
- default = true;
- description = ''
- Whether to enable accelerated OpenGL rendering through the
- Direct Rendering Interface (DRI).
- '';
- };
+ hardware.opengl = {
+ enable = mkOption {
+ description = ''
+ Whether to enable OpenGL drivers. This is needed to enable
+ OpenGL support in X11 systems, as well as for Wayland compositors
+ like sway, way-cooler and Weston. It is enabled by default
+ by the corresponding modules, so you do not usually have to
+ set it yourself, only if there is no module for your wayland
+ compositor of choice. See services.xserver.enable,
+ programs.sway.enable, and programs.way-cooler.enable.
+ '';
+ type = types.bool;
+ default = false;
+ };
- hardware.opengl.driSupport32Bit = mkOption {
- type = types.bool;
- default = false;
- description = ''
- On 64-bit systems, whether to support Direct Rendering for
- 32-bit applications (such as Wine). This is currently only
- supported for the nvidia and
- ati_unfree drivers, as well as
- Mesa.
- '';
- };
+ driSupport = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Whether to enable accelerated OpenGL rendering through the
+ Direct Rendering Interface (DRI).
+ '';
+ };
- hardware.opengl.s3tcSupport = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Make S3TC(S3 Texture Compression) via libtxc_dxtn available
- to OpenGL drivers instead of the patent-free S2TC replacement.
+ driSupport32Bit = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ On 64-bit systems, whether to support Direct Rendering for
+ 32-bit applications (such as Wine). This is currently only
+ supported for the nvidia and
+ ati_unfree drivers, as well as
+ Mesa.
+ '';
+ };
- Using this library may require a patent license depending on your location.
- '';
- };
+ s3tcSupport = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Make S3TC(S3 Texture Compression) via libtxc_dxtn available
+ to OpenGL drivers instead of the patent-free S2TC replacement.
- hardware.opengl.package = mkOption {
- type = types.package;
- internal = true;
- description = ''
- The package that provides the OpenGL implementation.
- '';
- };
+ Using this library may require a patent license depending on your location.
+ '';
+ };
- hardware.opengl.package32 = mkOption {
- type = types.package;
- internal = true;
- description = ''
- The package that provides the 32-bit OpenGL implementation on
- 64-bit systems. Used when is
- set.
- '';
- };
+ package = mkOption {
+ type = types.package;
+ internal = true;
+ description = ''
+ The package that provides the OpenGL implementation.
+ '';
+ };
- hardware.opengl.extraPackages = mkOption {
- type = types.listOf types.package;
- default = [];
- example = literalExample "with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau intel-ocl ]";
- description = ''
- Additional packages to add to OpenGL drivers. This can be used
- to add OpenCL drivers, VA-API/VDPAU drivers etc.
- '';
- };
+ package32 = mkOption {
+ type = types.package;
+ internal = true;
+ description = ''
+ The package that provides the 32-bit OpenGL implementation on
+ 64-bit systems. Used when is
+ set.
+ '';
+ };
- hardware.opengl.extraPackages32 = mkOption {
- type = types.listOf types.package;
- default = [];
- example = literalExample "with pkgs.pkgsi686Linux; [ vaapiIntel libvdpau-va-gl vaapiVdpau ]";
- description = ''
- Additional packages to add to 32-bit OpenGL drivers on
- 64-bit systems. Used when is
- set. This can be used to add OpenCL drivers, VA-API/VDPAU drivers etc.
- '';
+ extraPackages = mkOption {
+ type = types.listOf types.package;
+ default = [];
+ example = literalExample "with pkgs; [ vaapiIntel libvdpau-va-gl vaapiVdpau intel-ocl ]";
+ description = ''
+ Additional packages to add to OpenGL drivers. This can be used
+ to add OpenCL drivers, VA-API/VDPAU drivers etc.
+ '';
+ };
+
+ extraPackages32 = mkOption {
+ type = types.listOf types.package;
+ default = [];
+ example = literalExample "with pkgs.pkgsi686Linux; [ vaapiIntel libvdpau-va-gl vaapiVdpau ]";
+ description = ''
+ Additional packages to add to 32-bit OpenGL drivers on
+ 64-bit systems. Used when is
+ set. This can be used to add OpenCL drivers, VA-API/VDPAU drivers etc.
+ '';
+ };
};
};
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
index a1f1cef07ad..eb195228033 100644
--- a/nixos/modules/hardware/video/nvidia.nix
+++ b/nixos/modules/hardware/video/nvidia.nix
@@ -25,13 +25,6 @@ let
nvidia_x11 = nvidiaForKernel config.boot.kernelPackages;
nvidia_libs32 = (nvidiaForKernel pkgs_i686.linuxPackages).override { libsOnly = true; kernel = null; };
- nvidiaPackage = nvidia: pkgs:
- if !nvidia.useGLVND then nvidia.out
- else pkgs.buildEnv {
- name = "nvidia-libs";
- paths = [ pkgs.libglvnd nvidia.out ];
- };
-
enabled = nvidia_x11 != null;
in
@@ -57,8 +50,8 @@ in
source = "${nvidia_x11.bin}/share/nvidia/nvidia-application-profiles-rc";
};
- hardware.opengl.package = nvidiaPackage nvidia_x11 pkgs;
- hardware.opengl.package32 = nvidiaPackage nvidia_libs32 pkgs_i686;
+ hardware.opengl.package = nvidia_x11.out;
+ hardware.opengl.package32 = nvidia_libs32.out;
environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
++ lib.filter (p: p != null) [ nvidia_x11.persistenced ];
diff --git a/nixos/modules/security/wrappers/wrapper.c b/nixos/modules/security/wrappers/wrapper.c
index 7091e314bb2..494e9e93ac2 100644
--- a/nixos/modules/security/wrappers/wrapper.c
+++ b/nixos/modules/security/wrappers/wrapper.c
@@ -10,8 +10,8 @@
#include
#include
#include
-#include
#include
+#include
#include
// Make sure assertions are not compiled out, we use them to codify
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index e7918cf9d31..5f0a0f27845 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -626,9 +626,7 @@ in
environment =
{
- XORG_DRI_DRIVER_PATH = "/run/opengl-driver/lib/dri"; # !!! Depends on the driver selected at runtime.
- LD_LIBRARY_PATH = concatStringsSep ":" (
- [ "${xorg.libX11.out}/lib" "${xorg.libXext.out}/lib" "/run/opengl-driver/lib" ]
+ LD_LIBRARY_PATH = concatStringsSep ":" ([ "/run/opengl-driver/lib" ]
++ concatLists (catAttrs "libPath" cfg.drivers));
} // cfg.displayManager.job.environment;
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index b8a2d42e0fb..bd2d52c30b4 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -137,7 +137,6 @@ let
# Slices / containers.
"slices.target"
- "system.slice"
"user.slice"
"machine.slice"
"machines.target"
@@ -836,7 +835,8 @@ in
system.requiredKernelConfig = map config.lib.kernelConfig.isEnabled
[ "DEVTMPFS" "CGROUPS" "INOTIFY_USER" "SIGNALFD" "TIMERFD" "EPOLL" "NET"
- "SYSFS" "PROC_FS" "FHANDLE" "DMIID" "AUTOFS4_FS" "TMPFS_POSIX_ACL"
+ "SYSFS" "PROC_FS" "FHANDLE" "CRYPTO_USER_API_HASH" "CRYPTO_HMAC"
+ "CRYPTO_SHA256" "DMIID" "AUTOFS4_FS" "TMPFS_POSIX_ACL"
"TMPFS_XATTR" "SECCOMP"
];
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index ee327ed805b..45325c6b0d8 100644
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -98,7 +98,7 @@ let
${qemuGraphics} \
${toString config.virtualisation.qemu.options} \
$QEMU_OPTS \
- $@
+ "$@"
'';
diff --git a/pkgs/applications/audio/chuck/clang.patch b/pkgs/applications/audio/chuck/clang.patch
new file mode 100644
index 00000000000..77227ef0fd4
--- /dev/null
+++ b/pkgs/applications/audio/chuck/clang.patch
@@ -0,0 +1,58 @@
+diff --git a/src/ugen_osc.cpp b/src/ugen_osc.cpp
+index 6b93c6b..dbefe4f 100644
+--- a/src/ugen_osc.cpp
++++ b/src/ugen_osc.cpp
+@@ -1232,7 +1232,7 @@ CK_DLL_CTRL( gen5_coeffs )
+ Chuck_Array8 * in_args = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
+
+ // fprintf(stdout, "calling gen10coeffs, %d\n", weights);
+- if(in_args<0) return;
++ if(in_args!=0) return;
+ size = in_args->size();
+ if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
+
+@@ -1287,7 +1287,7 @@ CK_DLL_CTRL( gen7_coeffs )
+ Chuck_Array8 * in_args = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
+
+ // fprintf(stdout, "calling gen10coeffs, %d\n", weights);
+- if(in_args<0) return;
++ if(in_args!=0) return;
+ size = in_args->size();
+ if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
+
+@@ -1340,7 +1340,7 @@ CK_DLL_CTRL( gen9_coeffs )
+ Chuck_Array8 * weights = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
+
+ // fprintf(stdout, "calling gen10coeffs, %d\n", weights);
+- if(weights<0) return;
++ if(weights!=0) return;
+ size = weights->size();
+ if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
+
+@@ -1390,7 +1390,7 @@ CK_DLL_CTRL( gen10_coeffs )
+ Chuck_Array8 * weights = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
+
+ // fprintf(stdout, "calling gen10coeffs, %d\n", weights);
+- if(weights<0) return;
++ if(weights!=0) return;
+ size = weights->size();
+ if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
+
+@@ -1441,7 +1441,7 @@ CK_DLL_CTRL( gen17_coeffs )
+ Chuck_Array8 * weights = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
+
+ // fprintf(stdout, "calling gen17coeffs, %d\n", weights);
+- if(weights<0) return;
++ if(weights!=0) return;
+ size = weights->size();
+ if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
+
+@@ -1502,7 +1502,7 @@ CK_DLL_CTRL( curve_coeffs )
+ Chuck_Array8 * weights = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
+
+ // fprintf(stdout, "calling gen17coeffs, %d\n", weights);
+- if(weights<0) goto done;
++ if(weights!=0) goto done;
+
+ nargs = weights->size();
+ if (nargs < 5 || (nargs % 3) != 2) { // check number of args
diff --git a/pkgs/applications/audio/chuck/default.nix b/pkgs/applications/audio/chuck/default.nix
index fd7f0c2b07c..e94172b0f87 100644
--- a/pkgs/applications/audio/chuck/default.nix
+++ b/pkgs/applications/audio/chuck/default.nix
@@ -1,4 +1,6 @@
-{ stdenv, fetchurl, alsaLib, bison, flex, libsndfile, which }:
+{ stdenv, fetchurl, alsaLib, bison, flex, libsndfile, which
+, AppKit, Carbon, CoreAudio, CoreMIDI, CoreServices, Kernel
+}:
stdenv.mkDerivation rec {
version = "1.3.5.2";
@@ -10,19 +12,24 @@ stdenv.mkDerivation rec {
};
buildInputs = [ bison flex libsndfile which ]
- ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
+ ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib
+ ++ stdenv.lib.optional stdenv.isDarwin [ AppKit Carbon CoreAudio CoreMIDI CoreServices Kernel ];
- patches = [ ./darwin-limits.patch ];
+ patches = [ ./clang.patch ./darwin-limits.patch ];
+
+ NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-Wno-missing-sysroot";
+ NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-framework MultitouchSupport";
postPatch = ''
substituteInPlace src/makefile --replace "/usr/bin" "$out/bin"
substituteInPlace src/makefile.osx --replace "xcodebuild" "/usr/bin/xcodebuild"
substituteInPlace src/makefile.osx --replace "weak_framework" "framework"
+ substituteInPlace src/makefile.osx --replace "MACOSX_DEPLOYMENT_TARGET=10.5" "MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET"
'';
- buildPhase =
- stdenv.lib.optionals stdenv.isLinux ["make -C src linux-alsa"] ++
- stdenv.lib.optionals stdenv.isDarwin ["make -C src osx"];
+ buildPhase = ''
+ make -C src ${if stdenv.isDarwin then "osx" else "linux-alsa"}
+ '';
installPhase = ''
install -Dm755 ./src/chuck $out/bin/chuck
diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix
index 789ee35f260..27ca539850e 100644
--- a/pkgs/applications/audio/fluidsynth/default.nix
+++ b/pkgs/applications/audio/fluidsynth/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
name = "fluidsynth-${version}";
- version = "1.1.9";
+ version = "1.1.10";
src = fetchFromGitHub {
owner = "FluidSynth";
repo = "fluidsynth";
rev = "v${version}";
- sha256 = "0krvmb1idnf95l2ydzfcb08ayyx3n4m71hf9fgwv3srzaikvpf3q";
+ sha256 = "04jlgq1d1hd8r9cnmkl3lgf1fgm7kgy4hh9nfddap41fm1wp121p";
};
nativeBuildInputs = [ pkgconfig cmake ];
diff --git a/pkgs/applications/audio/ncmpc/default.nix b/pkgs/applications/audio/ncmpc/default.nix
index 5bd2c9045f2..ffd5b9a5858 100644
--- a/pkgs/applications/audio/ncmpc/default.nix
+++ b/pkgs/applications/audio/ncmpc/default.nix
@@ -15,8 +15,6 @@ stdenv.mkDerivation rec {
buildInputs = [ glib ncurses mpd_clientlib ];
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
- NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
-
meta = with stdenv.lib; {
description = "Curses-based interface for MPD (music player daemon)";
homepage = https://www.musicpd.org/clients/ncmpc/;
diff --git a/pkgs/applications/display-managers/sddm/default.nix b/pkgs/applications/display-managers/sddm/default.nix
index a7e8799c9c1..a41f917a7ec 100644
--- a/pkgs/applications/display-managers/sddm/default.nix
+++ b/pkgs/applications/display-managers/sddm/default.nix
@@ -22,6 +22,10 @@ in mkDerivation rec {
# Module Qt5::Test must be included in `find_package` before it is used.
''
sed -i CMakeLists.txt -e '/find_package(Qt5/ s|)| Test)|'
+ ''
+ # Fix missing include for gettimeofday()
+ + ''
+ sed -e '1i#include ' -i src/helper/HelperApp.cpp
'';
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig qttools ];
diff --git a/pkgs/applications/editors/geany/default.nix b/pkgs/applications/editors/geany/default.nix
index 23478758efe..bedc299ee67 100644
--- a/pkgs/applications/editors/geany/default.nix
+++ b/pkgs/applications/editors/geany/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool, file }:
+{ stdenv, fetchurl, gtk2, which, pkgconfig, intltool, file, libintl }:
with stdenv.lib;
@@ -14,9 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "66baaff43f12caebcf0efec9a5533044dc52837f799c73a1fd7312caa86099c2";
};
- NIX_LDFLAGS = if stdenv.isDarwin then "-lintl" else null;
-
- nativeBuildInputs = [ pkgconfig intltool ];
+ nativeBuildInputs = [ pkgconfig intltool libintl ];
buildInputs = [ gtk2 which file ];
doCheck = true;
diff --git a/pkgs/applications/editors/vim/common.nix b/pkgs/applications/editors/vim/common.nix
index 00b2b23c6f4..5b4f631987f 100644
--- a/pkgs/applications/editors/vim/common.nix
+++ b/pkgs/applications/editors/vim/common.nix
@@ -1,12 +1,12 @@
{ lib, fetchFromGitHub }:
rec {
- version = "8.0.1605";
+ version = "8.0.1655";
src = fetchFromGitHub {
owner = "vim";
repo = "vim";
rev = "v${version}";
- sha256 = "0a8zf43q806py14vq1frm350wycn47cmanj1hn1i7bqx1gdgcal9";
+ sha256 = "1c6raqjaxgsjazn4l7wqg2cscd5i4bz9m2g2xhn9ba1injs7mps1";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix
index 987b544c556..8353bce1b84 100644
--- a/pkgs/applications/gis/grass/default.nix
+++ b/pkgs/applications/gis/grass/default.nix
@@ -15,6 +15,10 @@ stdenv.mkDerivation {
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas ]
++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
+ # On Darwin the installer tries to symlink the help files into a system
+ # directory
+ patches = [ ./no_symbolic_links.patch ];
+
configureFlags = [
"--with-proj-share=${proj}/share/proj"
"--without-opengl"
diff --git a/pkgs/applications/gis/grass/no_symbolic_links.patch b/pkgs/applications/gis/grass/no_symbolic_links.patch
new file mode 100644
index 00000000000..ef09b97b703
--- /dev/null
+++ b/pkgs/applications/gis/grass/no_symbolic_links.patch
@@ -0,0 +1,37 @@
+diff --git a/include/Make/Install.make b/include/Make/Install.make
+index 0aba138..8ba74bc 100644
+--- a/include/Make/Install.make
++++ b/include/Make/Install.make
+@@ -116,11 +116,6 @@ real-install: | $(INST_DIR) $(UNIX_BIN)
+ -$(INSTALL) config.status $(INST_DIR)/config.status
+ -$(CHMOD) -R a+rX $(INST_DIR) 2>/dev/null
+
+-ifneq ($(findstring darwin,$(ARCH)),)
+- @# enable OSX Help Viewer
+- @/bin/ln -sfh "$(INST_DIR)/docs/html" /Library/Documentation/Help/GRASS-$(GRASS_VERSION_MAJOR).$(GRASS_VERSION_MINOR)
+-endif
+-
+ $(INST_DIR) $(UNIX_BIN):
+ $(MAKE_DIR_CMD) $@
+
+diff --git a/macosx/app/build_html_user_index.sh b/macosx/app/build_html_user_index.sh
+index 04e63eb..c9d9c2c 100755
+--- a/macosx/app/build_html_user_index.sh
++++ b/macosx/app/build_html_user_index.sh
+@@ -140,7 +140,6 @@ else
+ # echo "$BASENAME | $SHORTDESC |
" >> $FULLINDEX
+ # make them local to user to simplify page links
+ echo "$BASENAME | $SHORTDESC |
" >> $FULLINDEX
+- ln -sf "$HTMLDIRG/$i" global_$i
+ done
+ done
+ fi
+@@ -183,8 +182,3 @@ echo "
+