repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
electron-source.electron_29: remove as it's EOL
[NixPkgs.git]
/
lib
/
source-types.nix
blob
c4f263dcf4643c7a0b67ca988a7cb301536a1b08
1
{ lib }:
2
3
let
4
defaultSourceType = tname: {
5
shortName = tname;
6
isSource = false;
7
};
8
in lib.mapAttrs (tname: tset: defaultSourceType tname // tset) {
9
10
fromSource = {
11
isSource = true;
12
};
13
14
binaryNativeCode = {};
15
16
binaryBytecode = {};
17
18
binaryFirmware = {};
19
}