mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
22 lines
308 B
Nix
22 lines
308 B
Nix
{ lib }:
|
|
|
|
let
|
|
defaultSourceType = tname: {
|
|
shortName = tname;
|
|
isSource = false;
|
|
};
|
|
in
|
|
lib.mapAttrs (tname: tset: defaultSourceType tname // tset) {
|
|
|
|
fromSource = {
|
|
isSource = true;
|
|
};
|
|
|
|
binaryNativeCode = { };
|
|
|
|
binaryBytecode = { };
|
|
|
|
binaryFirmware = { };
|
|
|
|
obfuscatedCode = { };
|
|
}
|