blob: be2d89f8e60c22d81e994f6ce2e135bce33fa5c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ nixpkgs, shellrc, system }:
let
default = let
pkgs = nixpkgs.legacyPackages.${system};
in pkgs.mkShell {
inputsFrom = with pkgs; [
shellrc.packages.${system}.default
];
};
callDevelop = file: import file {
inherit system;
inherit nixpkgs;
inherit default;
};
in {
default = default;
armv6 = callDevelop ./nuttx.nix { arch = "armv6s-m"; };
armv7e = callDevelop ./nuttx.nix { arch = "armv7e-m"; fpu = "vfpv3-d16"; };
c = callDevelop ./c.nix;
riscv = callDevelop ./riscv.nix;
}
|