I am using shell.nix file to declare the environment for developing my project. I have this line in my shell.nix:
buildInputs = [ gnumake gcc-arm-embedded ];
I read that this method is obsolete now, that’s why the gcc-arm-embedded package is not updated beyond gcc-6. Is that correct? If yes, what is the best way how to get the gcc-7 for arm in my shell environment?
I read something about
crossSystem but i cannot figure that out. :-/ I also have feeling this is used in nix-build when one wants to cross-compile a nix package, but this is not my usecase. I want to have
arm-none-eabi-gcc cross-compiler in my shell environment for development of a project unrelated to nix.