From f00d74f49f8301acfe31ff8554bd32f820be826c Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Tue, 30 Aug 2016 16:19:29 +0200 Subject: [PATCH] skip the slow pycrypto tests --- nix/.nixpkgs/config.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/.nixpkgs/config.nix b/nix/.nixpkgs/config.nix index 67f5459..3237f4d 100644 --- a/nix/.nixpkgs/config.nix +++ b/nix/.nixpkgs/config.nix @@ -25,6 +25,14 @@ ftb = pkgs.callPackage ./ftb.nix {}; pyroscope = pkgs.callPackage ./pyroscope.nix {}; + python35Packages = py3 // { + # pycrypto runs slow tests by default + pycrypto = py3.pycrypto.overrideDerivation (attrs: { + installCheckPhase = '' + ${py3.python.interpreter} nix_run_setup.py test --skip-slow-tests + ''; + }); + }; envs = recurseIntoAttrs {