Unverified Commit 63b59558 authored by Naïm Favier's avatar Naïm Favier Committed by GitHub
Browse files

Merge pull request #216508 from thblt/amc-unbreak-modsdir

auto-multiple-choice: Use default value for $MODSDIR
parents 4f1b2d51 e69c7f78
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -42,8 +42,14 @@ stdenv.mkDerivation rec {
    # Relative paths.
    "BINDIR=/bin"
    "PERLDIR=/share/perl5"
    "MODSDIR=/nonexistent" # AMC will test for that dir before
    # defaulting to the "portable" strategy, so this test *must* fail.
    "MODSDIR=/lib" # At runtime, AMC will test for that dir before
    # defaulting to the "portable" strategy we use, so this test
    # *must* fail.  *But* this variable cannot be set to anything but
    # "/lib" , because that name is hardcoded in the main executable
    # and this variable controls both both the path AMC will check at
    # runtime, AND the path where the actual modules will be stored at
    # build-time.  This has been reported upstream as
    # https://project.auto-multiple-choice.net/issues/872
    "TEXDIR=/tex/latex/" # what texlive.combine expects
    "TEXDOCDIR=/share/doc/texmf/" # TODO where to put this?
    "MAN1DIR=/share/man/man1"