blob: 24d8cfba9efb7f9e0db6c3353e25183f6d7c4ad5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ 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"; };
c = callDevelop ./c.nix { };
qt = callDevelop ./qt.nix { };
riscv = callDevelop ./riscv.nix { };
};
in shells
|