forked from M-Labs/artiq
flake: reexport and use mimalloc-enabled Python
This commit is contained in:
parent
59af28d6f7
commit
4ad8f5d6c7
|
@ -272,6 +272,7 @@
|
||||||
in rec {
|
in rec {
|
||||||
packages.x86_64-linux = rec {
|
packages.x86_64-linux = rec {
|
||||||
inherit migen misoc vivadoEnv vivado openocd-bscanspi artiq;
|
inherit migen misoc vivadoEnv vivado openocd-bscanspi artiq;
|
||||||
|
inherit (src-nac3.packages.x86_64-linux) python3-mimalloc;
|
||||||
artiq-board-kc705-nist_clock = makeArtiqBoardPackage {
|
artiq-board-kc705-nist_clock = makeArtiqBoardPackage {
|
||||||
target = "kc705";
|
target = "kc705";
|
||||||
variant = "nist_clock";
|
variant = "nist_clock";
|
||||||
|
@ -298,12 +299,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPackage.x86_64-linux = pkgs.python3.withPackages(ps: [ packages.x86_64-linux.artiq ]);
|
defaultPackage.x86_64-linux = packages.x86_64-linux.python3-mimalloc.withPackages(ps: [ packages.x86_64-linux.artiq ]);
|
||||||
|
|
||||||
devShell.x86_64-linux = pkgs.mkShell {
|
devShell.x86_64-linux = pkgs.mkShell {
|
||||||
name = "artiq-dev-shell";
|
name = "artiq-dev-shell";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(pkgs.python3.withPackages(ps: with packages.x86_64-linux; [ migen misoc jesd204b artiq ps.paramiko ps.jsonschema microscope ]))
|
(packages.x86_64-linux.python3-mimalloc.withPackages(ps: with packages.x86_64-linux; [ migen misoc jesd204b artiq ps.paramiko ps.jsonschema microscope ]))
|
||||||
rustPlatform.rust.rustc
|
rustPlatform.rust.rustc
|
||||||
rustPlatform.rust.cargo
|
rustPlatform.rust.cargo
|
||||||
cargo-xbuild
|
cargo-xbuild
|
||||||
|
|
Loading…
Reference in New Issue