It works? but slowly

This commit is contained in:
Noa Aarts 2026-01-11 10:25:51 +01:00
parent 6dfbffd05d
commit 804d6acbee
Signed by: noa
GPG key ID: 1850932741EFF672
8 changed files with 420 additions and 28 deletions

View file

@ -2,7 +2,7 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
typst = {
url = "github:typst/typst";
url = "github:typst/typst-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
@ -21,7 +21,7 @@
system:
f {
inherit system;
typst = typst.packages.${system};
typ = typst.packages.${system};
pkgs = import nixpkgs { inherit system; };
}
);
@ -30,17 +30,19 @@
devShells = forAllSystems (
{
pkgs,
typst,
typ,
system,
...
}:
{
default = pkgs.mkShellNoCC {
packages = [
pkgs.typst
typ.default
(pkgs.python3.withPackages (ppkgs: [
ppkgs.numpy
ppkgs.tqdm
ppkgs.qiskit
ppkgs.qiskit-aer
]))
];
};