diff options
Diffstat (limited to 'devShells/nuttx.nix')
-rw-r--r-- | devShells/nuttx.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devShells/nuttx.nix b/devShells/nuttx.nix index 7fa690c..612465f 100644 --- a/devShells/nuttx.nix +++ b/devShells/nuttx.nix @@ -3,7 +3,7 @@ with nixpkgs.lib; let pkgs = nixpkgs.legacyPackages.${system}; - pkgs-riscv = import nixpkgs.outPath { + pkgs-cross = import nixpkgs.outPath { localSystem = system; crossSystem = { config = "arm-none-eabi" + (optionalString (fpu != null) "hf"); @@ -19,7 +19,7 @@ in pkgs.mkShell { gnumake kconfig-frontends genromfs xxd openocd - ]) ++ (with pkgs-riscv.buildPackages; [ + ]) ++ (with pkgs-cross.buildPackages; [ gcc gdb ]); inputsFrom = [ default ]; |