2019-02-14 15:29:42 +08:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
|
|
|
|
|
|
let
|
2019-07-03 20:26:30 +08:00
|
|
|
artiqpkgs = import ./default.nix { inherit pkgs; };
|
|
|
|
vivado = import ./vivado.nix { inherit pkgs; };
|
2019-02-14 15:29:42 +08:00
|
|
|
in
|
2021-09-12 18:17:47 +08:00
|
|
|
assert pkgs.lib.asserts.assertMsg (!pkgs.lib.strings.versionAtLeast artiqpkgs.artiq.version "7.0") "For ARTIQ 7+, use 'nix develop' on the flake instead.";
|
2019-07-03 20:26:30 +08:00
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = [
|
|
|
|
vivado
|
|
|
|
pkgs.gnumake
|
2021-01-15 16:36:48 +08:00
|
|
|
(pkgs.python3.withPackages(ps: (with ps; [ jinja2 jsonschema numpy paramiko ]) ++ (with artiqpkgs; [ migen microscope misoc jesd204b migen-axi artiq ])))
|
2021-09-12 18:17:47 +08:00
|
|
|
artiqpkgs.cargo-legacy
|
|
|
|
artiqpkgs.rustc-legacy
|
2019-07-03 20:26:30 +08:00
|
|
|
artiqpkgs.binutils-or1k
|
2019-08-25 09:27:12 +08:00
|
|
|
artiqpkgs.binutils-arm
|
2019-07-03 20:26:30 +08:00
|
|
|
artiqpkgs.llvm-or1k
|
|
|
|
artiqpkgs.openocd
|
|
|
|
];
|
|
|
|
TARGET_AR="or1k-linux-ar";
|
|
|
|
}
|