aboutsummaryrefslogtreecommitdiff
path: root/devShells/default.nix
blob: c459abacbd124840f9a3e5456b4024911c866acb (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
{ 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;
  qt = callDevelop ./qt.nix;
  riscv = callDevelop ./riscv.nix;

}