stan: fix build by not running tests with nonexistent /usr/bin/python (#15968)
This commit is contained in:
parent
8199cda762
commit
07cfc1553f
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cmdstan-2.9.0";
|
||||
|
@ -10,9 +10,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildFlags = "build";
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = stdenv.lib.optional doCheck python;
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = "./runCmdStanTests.py src/test/interface";
|
||||
checkPhase = "python ./runCmdStanTests.py src/test/interface"; # see #5368
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/opt $out/bin
|
||||
|
|
Loading…
Reference in a new issue