aboutsummaryrefslogtreecommitdiff
path: root/devShells/default.nix
blob: 1e8dee300f9c0ec4a17251b11b05cfe74c69253e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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