Commit c41cc9e7 authored by Artturin's avatar Artturin
Browse files

treewide: move some perl vars to env attrset

parent 02e3f51d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 ];

+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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 ];