Skip to content
Snippets Groups Projects
Select Git revision
  • 1df1642b706eb6d39f93936e70df22cbdfb0ec36
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

prj_qemu_x86.conf

Blame
  • shell.nix 401 B
    { pkgs ? import <nixpkgs> {} }:
    
    with pkgs;
    with import ./default.nix;
    
    stdenv.mkDerivation {
      name = "env";
      buildInputs = [
        gdb
        glibc_multi
        rust
        pkgsCross.arm-embedded.stdenv.cc
        openocd
      ];
    
      # Set Environment Variables
      RUST_BACKTRACE = 1;
    
      shellHook = ''
        export LIBCLANG_PATH=${llvmPackages.libclang}/lib
        echo "Run 'cd example && cargo build --release'"
      '';
    }