2019-02-15 18:17:34 +08:00
|
|
|
{ pkgs }:
|
2019-02-14 15:29:42 +08:00
|
|
|
|
|
|
|
let
|
|
|
|
artiqpkgs = import ./default.nix { inherit pkgs; };
|
|
|
|
in
|
|
|
|
pkgs.buildFHSUserEnv {
|
|
|
|
name = "artiq-dev";
|
|
|
|
targetPkgs = pkgs: (
|
|
|
|
with pkgs; [
|
|
|
|
ncurses5
|
|
|
|
gnumake
|
|
|
|
zlib
|
|
|
|
libuuid
|
|
|
|
xorg.libSM
|
|
|
|
xorg.libICE
|
|
|
|
xorg.libXrender
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXtst
|
|
|
|
xorg.libXi
|
2019-03-09 13:44:23 +08:00
|
|
|
(python3.withPackages(ps: with ps; [ jinja2 numpy paramiko artiqpkgs.migen artiqpkgs.microscope artiqpkgs.misoc artiqpkgs.jesd204b artiqpkgs.artiq ]))
|
2019-02-14 15:29:42 +08:00
|
|
|
git
|
|
|
|
cargo
|
|
|
|
] ++
|
|
|
|
(with artiqpkgs; [
|
|
|
|
rustc
|
|
|
|
binutils-or1k
|
|
|
|
llvm-or1k
|
|
|
|
openocd
|
|
|
|
])
|
|
|
|
);
|
|
|
|
profile = ''
|
|
|
|
export TARGET_AR=${artiqpkgs.binutils-or1k}/bin/or1k-linux-ar
|
|
|
|
'';
|
|
|
|
}
|