Skip to content

Commit

Permalink
[infra] Bugfix/1132 update nix macos compiler (#1133)
Browse files Browse the repository at this point in the history
* Updated nixpkgs to the latest revision, which includes clang16 as the default macos compiler

* Updated copy path for python extras to take the python version into account, rather than hardcoding 3.10 (as the prior commit updated to python3.11)

---------

Co-authored-by: Jake Arkinstall <jake.arkinstall@quantinuum.com>
  • Loading branch information
1 parent af9015c commit 8a3da30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions nix-support/pytket.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ in {
# these directories aren't copied by setup.py, so we do it manually
cp -r ${
../pytket/pytket/circuit/display/js
} $out/lib/python3.10/site-packages/pytket/circuit/display/js;
} $out/lib/python${super.python3.pythonVersion}/site-packages/pytket/circuit/display/js;
cp -r ${
../pytket/pytket/circuit/display/static
} $out/lib/python3.10/site-packages/pytket/circuit/display/static;
} $out/lib/python${super.python3.pythonVersion}/site-packages/pytket/circuit/display/static;
'';
checkInputs = with super.python3.pkgs; [
pytest
Expand Down

0 comments on commit 8a3da30

Please sign in to comment.