depot/third_party/nixpkgs/pkgs/by-name
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00
..
_4/_4th Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
_9/_9base Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
a4/a4 Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
aa Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ab/aba Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ac Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ad Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ae/aeron-cpp Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
af/afterstep Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ai Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
al Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
am Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
an Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ao/aocl-utils Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ap Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ar Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
as Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
at/athens Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
au/auto-epp Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
av/avr-sim Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
aw Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ax/axmldec Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
ay/ayatana-indicator-messages Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ba Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
bc/bc-ur Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
be Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
bi Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
bk/bk Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
bl/bluetility Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
bm/bmake Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
bn/bngblaster Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
bo Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
br Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
bu Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
c2 Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ca Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
cb/cbmbasic Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
cd Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
ce Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
cg/cgl Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ch/changelog-d Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ci Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
cl Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
cm Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
cn/cntb Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
co Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
cp/cpu-x Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
cr Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ct/ctx Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
cy Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
da/dark-mode-notify Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
db/dbus-cpp Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
de Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
di Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
dj/djent Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
dm/dmenu-bluetooth Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
do Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
dr/drone-scp Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
dt/dtcmp Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
du Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
dv/dvb-apps Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
dx Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
dy/dyalog Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ec Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
ei Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ek/eksctl Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
el/elvish Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
em Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
en Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
er/eriscmd Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
es/esbuild-config Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
eu/eudev Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ez/eza Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
fa Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
fc Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
fe/feather Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ff Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
fi/firewalk Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
fl Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
fm Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
fn/fnott Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
fo Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
fr Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ga Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
gb/gbar Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
gc Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ge Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
gh Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
gi Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
gl Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
gm/gmic Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
go Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
gr Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
gu Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ha Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
hd/hdrop Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
he Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
hi/hifile Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
hj/hjson-go Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ho Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ht Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
hu/hugo Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
hy Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
i3 Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ia/ia-writer-quattro Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ic/icewm Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
id/idsk Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
if/ifrextractor-rs Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ig/ignite-cli Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
im Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
in Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ir/ironbar Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ja Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ji Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
jj/jj Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
jo/joycond-cemuhook Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ju/justbuild Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
ka/katriawm Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
kc/kconfig-frontends Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
kd/kdsingleapplication Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ke Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
kg/kgeotag Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ki/kikit Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
km/kmsvnc Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
ko Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ks/kseexpr Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
kt Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ku Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
la Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
lc/lcab Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
le Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
li Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ll Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ln/lngen Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
lo Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
lu Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
lw/lwgrp Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
lx/lxd-to-incus Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
lz/lzsa Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
m2 Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
ma Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
mc Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
me Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
mf/mfoc-hardnested Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
mi Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
mk/mksh Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ml/mlx42 Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
mo Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
mp/mpifileutils Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
ms/msolve Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
mu Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
my/mystmd Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
n2/n2 Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
na Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ne Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
nf/nfft Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
nh/nh Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ni Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
nl Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
nn/nncp Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
no Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
np/npm-lockfile-fix Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
nr/nrpl Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ns Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
nu Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
nw/nwg-drawer Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
oa Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
oc Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
oe/oelint-adv Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
of/offpunk Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
oh/oh-my-fish Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
on Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
op Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
or/orchard Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ot Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ou/outputcheck Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ov Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ow/owncloud-client Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
pa Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pd Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pe Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pg/pgmoneta Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ph Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pi Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pl Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
po Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pp/ppsspp Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
pr Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pt/pterm Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
pu/pushup Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pw Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
px/pxder Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
py Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
pz/pzip Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
qa/qadwaitadecorations Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
qr/qrtool Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
qs/qspeakers Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
qu Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ra Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
rc Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
re Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ri Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ro Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
rp/rpcs3 Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
rq/rqbit Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
rs Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
rt/rtl-sdr-osmocom Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
ru Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
sa Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sc Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sd/sdcc Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
se Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sg/sgfutils Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sh Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
si Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sl Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
sm Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sn Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
so Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sp Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sr/srm-cuarzo Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ss/sssnake Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
st Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
su Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sv/svix-server Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
sw Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
sx/sxhkd Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
sy Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ta Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
tc/tcsh Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
te Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
th Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ti Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
tk/tkdiff Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
tl/tlrc Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
tm/tmuxifier Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
to/torrentstream Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
tp Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
tr Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
tt/ttop Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
tu Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
tx/txr Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ty Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
uc Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
ud Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
ui Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
un Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
up Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
us/usql Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ut/ut Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
uu/uuu Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ux/uxn Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
va/valijson Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
vc Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ve Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
vg/vgm2x Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
vi Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
wa Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
wb/wb32-dfu-updater Project import generated by Copybara. 2023-10-19 15:55:26 +02:00
we/websecprobe Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
wh Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
wi Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
wl/wl-gammarelay-rs Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
wo Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
wp/wp-cli Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ws/wslay Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
wt/wtfis Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
x1/x16 Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
xa/xarcan Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
xd Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
xm/xmldiff Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
xo Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
xp/xplr Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
xs Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
xw/xwayland-run Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
ye/yeahwm Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
yg/yggdrasil Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
yt Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
yu/yunfaavatar Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
za/zapzap Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
zb/zbus-xmlgen Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
zc/zcfan Project import generated by Copybara. 2023-10-09 21:29:22 +02:00
ze/zesarux Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
zi/zitadel Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
zp Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
zs/zs Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
zu/zug Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
zw/zwave-js-server Project import generated by Copybara. 2023-11-16 04:20:00 +00:00
zx Project import generated by Copybara. 2024-01-02 12:29:13 +01:00
README.md Project import generated by Copybara. 2024-01-02 12:29:13 +01:00

Name-based package directories

The structure of this directory maps almost directly to top-level package attributes. This is the recommended way to add new top-level packages to Nixpkgs when possible.

Packages found in the named-based structure do not need to be explicitly added to the top-level/all-packages.nix file unless they require overriding the default value of an implicit attribute (see below).

Example

The top-level package pkgs.some-package may be declared by setting up this file structure:

pkgs
└── by-name
   ├── so
   ┊  ├── some-package
      ┊  └── package.nix

Where some-package is the package name and so is the lowercased 2-letter prefix of the package name.

The package.nix may look like this:

# A function taking an attribute set as an argument
{
  # Get access to top-level attributes for use as dependencies
  lib,
  stdenv,
  libbar,

  # Make this derivation configurable using `.override { enableBar = true }`
  enableBar ? false,
}:

# The return value must be a derivation
stdenv.mkDerivation {
  # ...
  buildInputs =
    lib.optional enableBar libbar;
}

You can also split up the package definition into more files in the same directory if necessary.

Once defined, the package can be built from the Nixpkgs root directory using:

nix-build -A some-package

See the general package conventions for more information on package definitions.

Changing implicit attribute defaults

The above expression is called using these arguments by default:

{
  lib = pkgs.lib;
  stdenv = pkgs.stdenv;
  libbar = pkgs.libbar;
}

But the package might need pkgs.libbar_2 instead. While the function could be changed to take libbar_2 directly as an argument, this would change the .override interface, breaking code like .override { libbar = ...; }. So instead it is preferable to use the same generic parameter name libbar and override its value in pkgs/top-level/all-packages.nix:

libfoo = callPackage ../by-name/so/some-package/package.nix {
  libbar = libbar_2;
};

Manual migration guidelines

Most packages are still defined in all-packages.nix and the category hierarchy. Please hold off migrating your maintained packages to this directory.

  1. An automated migration for the majority of packages is being worked on. In order to save on contributor and reviewer time, packages should only be migrated manually afterwards if they couldn't be migrated automatically.

  2. Manual migrations should only be lightly encouraged if the relevant code is being worked on anyways. For example with a package update or refactoring.

  3. Manual migrations should not remove definitions from all-packages.nix with custom arguments. That is a backwards-incompatible change because it changes the .override interface. Such packages may still be moved to pkgs/by-name however, while keeping the definition in all-packages.nix. See also changing implicit attribute defaults.

Limitations

There's some limitations as to which packages can be defined using this structure:

  • Only packages defined using pkgs.callPackage. This excludes packages defined using pkgs.python3Packages.callPackage ....

    Instead:

    • Either change the package definition to work with pkgs.callPackage.
    • Or use the category hierarchy.
  • Only top-level packages. This excludes packages for other package sets like pkgs.pythonPackages.*.

    Refer to the definition and documentation of the respective package set to figure out how such packages can be declared.

Validation

CI performs certain checks on the pkgs/by-name structure. This is done using the nixpkgs-check-by-name tool.

You can locally emulate the CI check using

$ ./pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh master

See here for more info.