mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
ae0df5d38a
Co-authored-by: Alexander Foremny <aforemny@posteo.de>
20 lines
280 B
Nix
20 lines
280 B
Nix
{ lib }:
|
|
|
|
let
|
|
defaultSourceType = tname: {
|
|
shortName = tname;
|
|
isSource = false;
|
|
};
|
|
in lib.mapAttrs (tname: tset: defaultSourceType tname // tset) {
|
|
|
|
fromSource = {
|
|
isSource = true;
|
|
};
|
|
|
|
binaryNativeCode = {};
|
|
|
|
binaryBytecode = {};
|
|
|
|
binaryFirmware = {};
|
|
}
|