Skip to content

Commit

Permalink
Changed nix taarget directory to est of notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloAndresCQ committed Oct 25, 2024
1 parent 3cf41ef commit bb7aedd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nix-support/pytket-cutensornet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in {
cp ${../README.md} $out/README.md; # required for setup's long description
cp ${../pytest.ini} $out/pytest.ini;
cp ${../_metadata.py} $out/_metadata.py;
# on nix versions of scipy and ipython, stubs are missing.
# adjust mypy.ini to ignore these errors.
(
Expand All @@ -40,7 +40,7 @@ EOF
'';
};
propagatedBuildInputs = [ super.pytket super.pycuquantum ];

doCheck = true;
checkInputs = [ super.mypy' ];
checkPhase = ''
Expand Down Expand Up @@ -83,8 +83,8 @@ EOF
WSL_PATH="/usr/lib/wsl/lib";
LD_LIBRARY_PATH="$NIXGL_PATH:$WSL_PATH:$LD_LIBRARY_PATH";
export LD_LIBRARY_PATH;
example_dir=${../examples};
example_dir=${../docs/examples};
set -e;
for name in `cat ''${example_dir}/ci-tested-notebooks.txt`;
do
Expand Down

0 comments on commit bb7aedd

Please sign in to comment.