treewide: move some perl vars to env attrset

This commit is contained in:
Artturin 2022-12-08 04:52:11 +02:00
parent 02e3f51d27
commit c41cc9e762
3 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ let
nativeBuildInputs = [ autoreconfHook ];
doCheck = true;
AUTOMATED_TESTING = true; # https://trac.xapian.org/changeset/8be35f5e1/git
env.AUTOMATED_TESTING = true; # https://trac.xapian.org/changeset/8be35f5e1/git
patches = lib.optionals stdenv.isDarwin [ ./skip-flaky-darwin-test.patch ];

View file

@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
];
# needs to find a local perl module during build
PERL_USE_UNSAFE_INC = "1";
env.PERL_USE_UNSAFE_INC = "1";
# TODO: tests are failing https://munin-monitoring.org/ticket/1390#comment:1
# NOTE: important, test command always exits with 0, think of a way to abort the build once tests pass

View file

@ -23029,7 +23029,7 @@ let
# For some crazy reason Makefile.PL doesn't generate a Makefile if
# AUTOMATED_TESTING is set.
AUTOMATED_TESTING = false;
env.AUTOMATED_TESTING = false;
# Makefile.PL looks for ncurses in Glibc's prefix.
preConfigure =
@ -27058,7 +27058,7 @@ let
hash = "sha256-gxxY8549/ebS3QORjSs8IgdBs2aD05Tu+9Bn70gu7gQ=";
})
];
AUTOMATED_TESTING = false;
env.AUTOMATED_TESTING = false;
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.xorg.libxcb pkgs.xorg.xcbproto pkgs.xorg.xcbutil pkgs.xorg.xcbutilwm ExtUtilsDepends ExtUtilsPkgConfig TestDeep TestException XSObjectMagic ];
propagatedBuildInputs = [ DataDump MouseXNativeTraits XMLDescent XMLSimple ];