summary refs log tree commit diff
path: root/pkgs/development/compilers/cmdstan/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/cmdstan/default.nix')
-rw-r--r--pkgs/development/compilers/cmdstan/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/cmdstan/default.nix b/pkgs/development/compilers/cmdstan/default.nix
index 3f25041f1753..2b2ae896a6d3 100644
--- a/pkgs/development/compilers/cmdstan/default.nix
+++ b/pkgs/development/compilers/cmdstan/default.nix
@@ -10,10 +10,10 @@ stdenv.mkDerivation rec {
 
   buildFlags = "build";
   enableParallelBuilding = true;
-  nativeBuildInputs = stdenv.lib.optional doCheck python;
 
   doCheck = true;
-  checkPhase = "python ./runCmdStanTests.py src/test/interface";  # see #5368
+  checkInputs = [ python ];
+  checkPhase = "python ./runCmdStanTests.py src/test/interface"; # see #5368
 
   installPhase = ''
     mkdir -p $out/opt $out/bin