fossil: Remove unneeded TCLLIBPATH export

The use of tcl.mkTclDerivation in tcllib ensures that it will
already be present on TCLLIBPATH when tests are run.
This commit is contained in:
Andrew Brooks
2021-05-21 15:18:10 -05:00
parent 499adf6b0c
commit 12315866d1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-uNDJIBlt2K4pFS+nRI5ROh+nxYiHG3heP7/Ae0KgX7k=";
};
nativeBuildInputs = [ installShellFiles tcl ];
nativeBuildInputs = [ installShellFiles tcl tcllib ];
buildInputs = [ zlib openssl readline sqlite which ed ]
++ lib.optional stdenv.isDarwin libiconv;
@@ -36,10 +36,6 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-internal-sqlite" ]
++ lib.optional withJson "--json";
preCheck = ''
export TCLLIBPATH="${tcllib}/lib/tcllib${tcllib.version}"
'';
preBuild = ''
export USER=nonexistent-but-specified-user
'';