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

auto-multiple-choice: Use default value for $MODSDIR

authored by Naïm Favier and committed by GitHub 63b59558 4f1b2d51

+8 -2
+8 -2
pkgs/applications/misc/auto-multiple-choice/default.nix
··· 42 42 # Relative paths. 43 43 "BINDIR=/bin" 44 44 "PERLDIR=/share/perl5" 45 - "MODSDIR=/nonexistent" # AMC will test for that dir before 46 - # defaulting to the "portable" strategy, so this test *must* fail. 45 + "MODSDIR=/lib" # At runtime, AMC will test for that dir before 46 + # defaulting to the "portable" strategy we use, so this test 47 + # *must* fail. *But* this variable cannot be set to anything but 48 + # "/lib" , because that name is hardcoded in the main executable 49 + # and this variable controls both both the path AMC will check at 50 + # runtime, AND the path where the actual modules will be stored at 51 + # build-time. This has been reported upstream as 52 + # https://project.auto-multiple-choice.net/issues/872 47 53 "TEXDIR=/tex/latex/" # what texlive.combine expects 48 54 "TEXDOCDIR=/share/doc/texmf/" # TODO where to put this? 49 55 "MAN1DIR=/share/man/man1"