From 405a9ecc1b73ea9c9408a7d6f874f93668ce9260 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 23 Aug 2019 17:41:51 +0800 Subject: [PATCH] ramda: enable tests --- artiq-fast/pkgs/python-deps.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq-fast/pkgs/python-deps.nix b/artiq-fast/pkgs/python-deps.nix index 97ae199..af1582f 100644 --- a/artiq-fast/pkgs/python-deps.nix +++ b/artiq-fast/pkgs/python-deps.nix @@ -188,9 +188,12 @@ rec { sha256 = "0qzd5yp9lbaham8p1wiymdjapzbqsli7lvngv24c3z4ybd9jlq9g"; }; - nativeBuildInputs = [ python3Packages.pbr python3Packages.pytest ]; + nativeBuildInputs = [ python3Packages.pbr ]; propagatedBuildInputs = [ fastnumbers ]; + checkInputs = [ python3Packages.pytest python3Packages.pytest-flake8 ]; + checkPhase = "pytest"; + preBuild = '' export PBR_VERSION=0.0.1 '';