auto-multiple-choice: change default module dir (fix #214724)

AMC will look for its libraries on the nix store path if and only iff
its default modules directory doesn't exist.  The value for this
variable was /lib/, which exists on some systems.  This commit changes
it to /nonexistent, the "canonical non-existent home directory" per
Debian policy, which probably won't exist anywhere.
This commit is contained in:
Thibault Polge 2023-02-06 14:02:57 +01:00
parent 0591d6b57b
commit a8e609a399
No known key found for this signature in database
GPG Key ID: 6F140DAA78FE8F2D

View File

@ -42,7 +42,8 @@ stdenv.mkDerivation rec {
# Relative paths.
"BINDIR=/bin"
"PERLDIR=/share/perl5"
"MODSDIR=/lib/"
"MODSDIR=/nonexistent" # AMC will test for that dir before
# defaulting to the "portable" strategy, so this test *must* fail.
"TEXDIR=/tex/latex/" # what texlive.combine expects
"TEXDOCDIR=/share/doc/texmf/" # TODO where to put this?
"MAN1DIR=/share/man/man1"