blob: 88d36385349051b877ff7959678fbff3430a2947 (
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
27
28
|
{
nixpkgs,
shellrc,
system,
}: let
callDevelop = nixpkgs.lib.callPackageWith ({
inherit system;
inherit nixpkgs;
}
// shells);
shells = {
default = nixpkgs.legacyPackages.${system}.mkShell {
inputsFrom = [shellrc.packages.${system}.default];
};
armv6 = callDevelop ./nuttx.nix {arch = "armv6s-m";};
armv7e = callDevelop ./nuttx.nix {
arch = "armv7e-m";
fpu = "vfpv3-d16";
};
espc = callDevelop ./nuttx.nix {arch = "rv32imc";};
c = callDevelop ./c.nix {};
qt = callDevelop ./qt.nix {};
#riscv = callDevelop ./riscv.nix { };
};
in
shells
|