mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
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:
parent
0591d6b57b
commit
a8e609a399
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user