thermostat/nix/gdb.nix

14 lines
272 B
Nix
Raw Normal View History

2019-03-22 22:35:38 +08:00
# 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";
};
};
}