diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/default.nix b/default.nix index c19f356e..ef26b4b4 100644 --- a/default.nix +++ b/default.nix @@ -24,11 +24,12 @@ pkgs.stdenv.mkDerivation { src = ./.; - buildInputs = with pkgs; [ cmake boost gmp mpfr libedit python texinfo gnused ]; + nativeBuildInputs = with pkgs; [ cmake ]; + buildInputs = with pkgs; [ boost gmp mpfr libedit python texinfo gnused gpgme ]; enableParallelBuilding = true; - cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ]; + cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" "-DUSE_GPGME=1" ]; buildPhase = "make -j$NIX_BUILD_CORES"; checkPhase = "ctest -j$NIX_BUILD_CORES"; |