diff options
author | Michael Raitza <spacefrogg-devel@meterriblecrew.net> | 2020-10-18 15:38:21 +0200 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2020-10-30 10:08:00 -0700 |
commit | f4b16ef2d1860b294f6f93123e0ebc7c9c16e9f2 (patch) | |
tree | b819907725d13db9f6d773fdff055a450515ba44 /default.nix | |
parent | f8e8cc160048cc7032254f1db7548c68571c3409 (diff) | |
download | fork-ledger-f4b16ef2d1860b294f6f93123e0ebc7c9c16e9f2.tar.gz fork-ledger-f4b16ef2d1860b294f6f93123e0ebc7c9c16e9f2.tar.bz2 fork-ledger-f4b16ef2d1860b294f6f93123e0ebc7c9c16e9f2.zip |
default.nix: Fix testing
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/default.nix b/default.nix index ef26b4b4..f280a118 100644 --- a/default.nix +++ b/default.nix @@ -25,14 +25,17 @@ pkgs.stdenv.mkDerivation { src = ./.; nativeBuildInputs = with pkgs; [ cmake ]; - buildInputs = with pkgs; [ boost gmp mpfr libedit python texinfo gnused gpgme ]; + buildInputs = with pkgs; [ boost gmp mpfr libedit python3 texinfo gnused gpgme ]; enableParallelBuilding = true; cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" "-DUSE_GPGME=1" ]; buildPhase = "make -j$NIX_BUILD_CORES"; - checkPhase = "ctest -j$NIX_BUILD_CORES"; + checkPhase = '' + export LD_LIBRARY_PATH=$PWD + ctest -j$NIX_BUILD_CORES + ''; doCheck = true; |