commit missing file

This commit is contained in:
Sebastien Bourdeauducq 2019-03-22 22:35:38 +08:00
parent 3e418a5932
commit 6ae87db7e1
1 changed files with 13 additions and 0 deletions

13
nix/gdb.nix Normal file
View File

@ -0,0 +1,13 @@
# TODO: gdb 8.2.1 from NixOS >= 19.XX is multiarch by default.
# remove the following as `gdb` is already in scope
{ stdenv, gdb }:
gdb.override {
stdenv = stdenv.override {
targetPlatform = {
config = "arm-none-eabihf";
libc = "newlib";
};
};
}