summaryrefslogtreecommitdiff
path: root/lib/source-types.nix
blob: b055e5d1b656c23cc8bd6c508dbb84dfe5e826de (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib }:

let
  defaultSourceType = tname: {
    shortName = tname;
    isSource = false;
  };
in
lib.mapAttrs (tname: tset: defaultSourceType tname // tset) {

  fromSource = {
    isSource = true;
  };

  binaryNativeCode = { };

  binaryBytecode = { };

  binaryFirmware = { };
}