diff options
author | Karel Kočí <cynerd@email.cz> | 2024-03-15 10:56:06 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2024-03-15 10:56:06 +0100 |
commit | 37cb70e417010417fabb10c789c87a5eb79ac151 (patch) | |
tree | e31f2f421551cf68b37088577e74e7c9c265b053 /devShells/nuttx.nix | |
parent | b02fd72da221fdecad6840fde9e9bff611276efa (diff) | |
download | nixos-personal-37cb70e417010417fabb10c789c87a5eb79ac151.tar.gz nixos-personal-37cb70e417010417fabb10c789c87a5eb79ac151.tar.bz2 nixos-personal-37cb70e417010417fabb10c789c87a5eb79ac151.zip |
devShells: drop those that I do not use offten
Diffstat (limited to 'devShells/nuttx.nix')
-rw-r--r-- | devShells/nuttx.nix | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/devShells/nuttx.nix b/devShells/nuttx.nix deleted file mode 100644 index 97675e9..0000000 --- a/devShells/nuttx.nix +++ /dev/null @@ -1,38 +0,0 @@ -pkgs: c: { - arch, - fpu ? null, -}: -with builtins; -with pkgs.lib; let - pkgsCross = import pkgs.path { - localSystem = pkgs.buildPlatform.system; - crossSystem = { - config = - if (hasPrefix "armv" arch) - then "arm-none-eabi" + (optionalString (fpu != null) "hf") - else "riscv32-none-elf"; - libc = "newlib"; - gcc = - { - inherit arch; - } - // (optionalAttrs (fpu != null) {inherit fpu;}); - }; - }; -in - pkgsCross.buildPackages.mkShell { - packages = with pkgsCross.buildPackages; - [ - kconfig-frontends - genromfs - xxd - openocd - gcc - gdb - ] - ++ (optionals (hasPrefix "rv32" arch) [ - esptool - ]); - inputsFrom = [c]; - meta.platforms = pkgsCross.lib.platforms.linux; - } |