aboutsummaryrefslogtreecommitdiff
path: root/devShells
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-04-19 08:35:55 +0200
committerKarel Kočí <cynerd@email.cz>2023-04-19 08:35:55 +0200
commit7c7e5963e311dd7207bfd68b6e335a68e7aae844 (patch)
tree99451cb0c531586175fb018d76410678b2e1ee7e /devShells
parent6487de443137c73e57f07f912b982afb7b4ef04d (diff)
downloadnixos-personal-7c7e5963e311dd7207bfd68b6e335a68e7aae844.tar.gz
nixos-personal-7c7e5963e311dd7207bfd68b6e335a68e7aae844.tar.bz2
nixos-personal-7c7e5963e311dd7207bfd68b6e335a68e7aae844.zip
devShells: switch from newlib-nano to newlib
Diffstat (limited to 'devShells')
-rw-r--r--devShells/apo.nix6
-rw-r--r--devShells/nuttx.nix2
2 files changed, 3 insertions, 5 deletions
diff --git a/devShells/apo.nix b/devShells/apo.nix
index a840670..b4ab8fd 100644
--- a/devShells/apo.nix
+++ b/devShells/apo.nix
@@ -7,10 +7,8 @@
localSystem = pkgs.buildPlatform.system;
crossSystem = {
config = "riscv32-none-elf";
- libc = "newlib-nano";
- gcc = {
- arch = "rv32i";
- };
+ libc = "newlib";
+ gcc.arch = "rv32i";
};
};
in
diff --git a/devShells/nuttx.nix b/devShells/nuttx.nix
index 33f5761..506ea12 100644
--- a/devShells/nuttx.nix
+++ b/devShells/nuttx.nix
@@ -14,7 +14,7 @@ with pkgs.lib; let
if (hasPrefix "armv" arch)
then "arm-none-eabi" + (optionalString (fpu != null) "hf")
else "riscv32-none-elf";
- libc = "newlib-nano";
+ libc = "newlib";
gcc =
{
inherit arch;