summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix7
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;