Compare commits
1 Commits
master
...
feature/sh
Author | SHA1 | Date | |
---|---|---|---|
|
47960f539b |
@ -1,21 +1,20 @@
|
|||||||
{ pkgs ? import <nixpkgs> {}}:
|
{ pkgs ? import <nixpkgs> {}
|
||||||
|
, artiqpkgs ? import ./default.nix { inherit pkgs; }
|
||||||
|
, vivado ? import ./vivado.nix { inherit pkgs; }
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
assert pkgs.lib.asserts.assertMsg (!pkgs.lib.strings.versionAtLeast artiqpkgs.artiq.version "7.0") "For ARTIQ 7+, use 'nix develop' on the flake instead.";
|
||||||
artiqpkgs = import ./default.nix { inherit pkgs; };
|
pkgs.mkShell {
|
||||||
vivado = import ./vivado.nix { inherit pkgs; };
|
buildInputs = [
|
||||||
in
|
vivado
|
||||||
assert pkgs.lib.asserts.assertMsg (!pkgs.lib.strings.versionAtLeast artiqpkgs.artiq.version "7.0") "For ARTIQ 7+, use 'nix develop' on the flake instead.";
|
pkgs.gnumake
|
||||||
pkgs.mkShell {
|
(pkgs.python3.withPackages(ps: (with ps; [ jinja2 jsonschema numpy paramiko ]) ++ (with artiqpkgs; [ migen microscope misoc jesd204b migen-axi artiq ])))
|
||||||
buildInputs = [
|
artiqpkgs.cargo-legacy
|
||||||
vivado
|
artiqpkgs.rustc-legacy
|
||||||
pkgs.gnumake
|
artiqpkgs.binutils-or1k
|
||||||
(pkgs.python3.withPackages(ps: (with ps; [ jinja2 jsonschema numpy paramiko ]) ++ (with artiqpkgs; [ migen microscope misoc jesd204b migen-axi artiq ])))
|
artiqpkgs.binutils-arm
|
||||||
artiqpkgs.cargo-legacy
|
artiqpkgs.llvm-or1k
|
||||||
artiqpkgs.rustc-legacy
|
artiqpkgs.openocd
|
||||||
artiqpkgs.binutils-or1k
|
];
|
||||||
artiqpkgs.binutils-arm
|
TARGET_AR="or1k-linux-ar";
|
||||||
artiqpkgs.llvm-or1k
|
}
|
||||||
artiqpkgs.openocd
|
|
||||||
];
|
|
||||||
TARGET_AR="or1k-linux-ar";
|
|
||||||
}
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
{ pkgs ? import <nixpkgs> {}}:
|
{ pkgs ? import <nixpkgs> {}
|
||||||
|
, artiqpkgs ? import ./default.nix { inherit pkgs; }
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
pkgs.mkShell {
|
||||||
artiqpkgs = import ./default.nix { inherit pkgs; };
|
buildInputs = [ (pkgs.python3.withPackages(ps: [artiqpkgs.artiq])) ];
|
||||||
in
|
}
|
||||||
pkgs.mkShell {
|
|
||||||
buildInputs = [ (pkgs.python3.withPackages(ps: [artiqpkgs.artiq])) ];
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user