1
0
Fork 0

shell.nix: add openocd and gdb

This commit is contained in:
Sebastien Bourdeauducq 2019-08-30 16:14:23 +08:00
parent 6771531255
commit c38b2e418e
1 changed files with 3 additions and 3 deletions

View File

@ -8,14 +8,14 @@ let
in in
with project; with project;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "adc2tcp-env"; name = "zynq-env";
buildInputs = with rustPlatform.rust; [ buildInputs = (with rustPlatform.rust; [
rustc cargo rustc cargo
cargo-xbuild rustcSrc cargo-xbuild rustcSrc
pkgsCross.armhf-embedded.buildPackages.gcc pkgsCross.armhf-embedded.buildPackages.gcc
#pkgsCross.armv7l-hf-multiplatform.buildPackages.gcc #pkgsCross.armv7l-hf-multiplatform.buildPackages.gcc
#pkgsCross.armhf-embedded.buildPackages.binutils #pkgsCross.armhf-embedded.buildPackages.binutils
]; ]) ++ (with pkgs; [ openocd gdb ]);
# Set Environment Variables # Set Environment Variables
RUST_BACKTRACE = 1; RUST_BACKTRACE = 1;