1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# The contents of //nix.
#
# This is a *namespace* file: it names every package in this directory
# explicitly. See //README.md for the two rules that govern the layout of this
# repository.
#
# Each entry is an ordinary `import`, so following one is just reading Nix --
# there is no traversal or injection happening behind your back.
{ ... }@args:
{
binify = import ./binify args;
buildGo = import ./buildGo args;
drvSeqL = import ./drvSeqL args;
escapeExecline = import ./escapeExecline args;
getBins = import ./getBins args;
# No default.nix: this directory is a small namespace of its own, holding
# exactly these two functions.
netstring = {
attrsToKeyValList = import ./netstring/attrsToKeyValList.nix args;
fromString = import ./netstring/fromString.nix args;
};
# `writers/tests` has no default.nix; its single test file becomes the
# `rust` attribute.
writers = (import ./writers args) // {
tests.rust = import ./writers/tests/rust.nix args;
};
runExecline = import ./runExecline args;
writeExecline = import ./writeExecline args;
writeScript = import ./writeScript args;
}
|