2019-02-09 10:24:22 +08:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
2019-01-23 21:59:39 +08:00
|
|
|
|
2019-01-01 22:25:56 +08:00
|
|
|
let
|
|
|
|
artiqpkgs = import ./default.nix { inherit pkgs; };
|
|
|
|
in
|
|
|
|
pkgs.buildFHSUserEnv {
|
|
|
|
name = "artiq-dev";
|
|
|
|
targetPkgs = pkgs: (
|
|
|
|
with pkgs; [
|
|
|
|
ncurses5
|
|
|
|
gnumake
|
2019-01-08 20:47:09 +08:00
|
|
|
zlib
|
2019-01-21 17:43:00 +08:00
|
|
|
libuuid
|
2019-01-01 22:25:56 +08:00
|
|
|
xorg.libSM
|
|
|
|
xorg.libICE
|
|
|
|
xorg.libXrender
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXtst
|
|
|
|
xorg.libXi
|
2019-01-02 16:34:11 +08:00
|
|
|
(python3.withPackages(ps: with ps; [ jinja2 numpy artiqpkgs.migen artiqpkgs.microscope artiqpkgs.misoc artiqpkgs.jesd204b artiqpkgs.artiq ]))
|
2019-01-23 11:17:48 +08:00
|
|
|
git
|
2019-02-09 14:19:34 +08:00
|
|
|
cargo
|
2019-01-01 22:25:56 +08:00
|
|
|
] ++
|
|
|
|
(with artiqpkgs; [
|
|
|
|
rustc
|
|
|
|
binutils-or1k
|
|
|
|
llvm-or1k
|
|
|
|
openocd
|
|
|
|
])
|
|
|
|
);
|
|
|
|
profile = ''
|
|
|
|
export TARGET_AR=${artiqpkgs.binutils-or1k}/bin/or1k-linux-ar
|
2019-02-09 10:24:22 +08:00
|
|
|
'';
|
2019-01-01 22:25:56 +08:00
|
|
|
}
|