nixpkgs-suyu/pkgs/by-name
2024-02-21 19:27:24 +07:00
..
_4/_4th
_9/_9base
a4/a4
aa aaaaxy: 1.4.160 -> 1.5.6 2024-02-20 07:36:59 +00:00
ab/aba
ac
ad ad-miner: fix typo 2024-02-18 17:06:09 +01:00
ae
af afterglow-cursors-recolored: init at 0-unstable-2023-10-04 2024-02-10 17:27:18 +01:00
ai
al Merge #276663: alsa-lib: 1.2.9 -> 1.2.11 2024-02-03 08:18:35 +01:00
am amphetype: add desktop item 2024-02-09 11:54:59 +00:00
an anytype: 0.37.3 -> 0.38.0 (#284895) 2024-01-31 13:19:05 +01:00
ao/aocl-utils
ap apt: 2.7.11 -> 2.7.12 2024-02-21 07:33:30 +00:00
ar Merge pull request #288421 from r-ryantm/auto-update/arxiv-latex-cleaner 2024-02-19 23:59:59 +09:00
as ast-grep: 0.19.0 -> 0.19.1 2024-02-20 12:39:28 +05:30
at atuin: 18.0.0 -> 18.0.1 2024-02-13 13:42:43 +01:00
au authentik: Fix logo path for email stage 2024-02-19 18:34:25 +00:00
av/avr-sim
aw aws-gate: fix missing and outdated requirements 2024-02-04 19:05:56 +01:00
ax/axmldec
ay Merge pull request #285378 from OPNA2608/update/ayatana-indicator-datetime 2024-02-11 15:26:03 +01:00
ba baresip: 3.8.1 -> 3.9.0 2024-02-09 11:32:45 +00:00
bc/bc-ur
be
bi Merge pull request #284623 from SuperSandro2000/bitwarden-directory-connector 2024-02-09 12:02:03 +01:00
bk/bk
bl Merge master into staging-next 2024-02-04 18:01:14 +00:00
bm/bmake bmake: 20240108 -> 20240212 2024-02-19 06:22:31 +00:00
bn/bngblaster bngblaster: 0.8.34 -> 0.8.35 (#286006) 2024-02-03 12:45:16 +01:00
bo boxed-cpp: 1.2.2 -> 1.3.0 2024-02-11 09:27:25 +00:00
br breeze-hacked-cursor-theme: init at unstable-2024-1-28 2024-01-28 17:41:38 -05:00
bs/bsync
bu Merge pull request #282418 from krloer/master 2024-01-29 14:13:39 +01:00
by/bytecode-viewer
c- Merge pull request #282375 from sikmir/c-periphery 2024-01-28 19:17:07 +01:00
c2 c2fmzq: 0.4.17 -> 0.4.18 2024-01-28 13:55:17 +00:00
ca cargo-swift: 0.6.0 -> 0.6.1 2024-02-18 23:51:52 +00:00
cb/cbmbasic
cc/ccache ccache: 4.9 -> 4.9.1 2024-02-09 12:01:03 +00:00
cd
ce Merge pull request #276299 from TomaSajt/certificate-ripper 2024-02-16 23:20:11 +01:00
cg/cgl
ch
ci Merge pull request #279127 from katexochen/ci-edit/init 2024-02-05 00:35:34 +01:00
cl Merge pull request #284185 from r-ryantm/auto-update/clzip 2024-02-04 20:23:32 +01:00
cm cmd-wrapped: 0.1.1 -> 0.2.0 2024-02-10 08:20:26 +00:00
cn/cntb
co Merge pull request #290001 from a-kenji/fix/cosmic-session 2024-02-19 23:41:31 -05:00
cp
cr crossplane-cli: 1.14.5 -> 1.15.0 2024-02-17 22:22:18 +00:00
cs csvkit: 1.3.0 -> 1.4.0 2024-02-14 12:03:01 +01:00
ct/ctx
cu/cursewords cursewords: init at 1.1 2024-02-17 00:59:22 -08:00
cy
cz/czkawka
da/dark-mode-notify
db/dbus-cpp
dc/dc3dd dc3dd: init at 7.3.1 2024-01-27 23:23:09 +01:00
de decker: 1.32 -> 1.39 2024-02-19 06:01:53 +00:00
di dim: init at unstable-2023-12-29 2024-02-17 14:53:40 -03:00
dj/djent
dm dmitry: init at 1.3a-unstable-2020-06-22 2024-02-10 18:25:04 +01:00
dn/dns2tcp dns2tcp: init at 0.5.2 2024-02-20 18:44:09 +01:00
do dotslash: init at 0.2.0 2024-02-19 16:52:41 -06:00
dp/dpp dpp: init at 10.0.29 2024-01-28 19:23:53 -08:00
dr/drone-scp
ds Merge pull request #281250 from Gliczy/dsda-launcher 2024-02-13 19:28:16 +01:00
dt/dtcmp
du dunst: 1.9.2 -> 1.10.0 2024-02-20 15:45:56 +13:00
dv/dvb-apps
dx
dy Merge pull request #279251 from martinjlowm/chore/dynamodb-local-use-jre-minimal 2024-01-30 10:30:57 +01:00
ea/easyeasm easyeasm: init at 1.0.6 2024-01-28 18:16:03 +01:00
eb
ec
ed/eduvpn-client eduvpn-client: 4.2.0 -> 4.2.1 2024-02-13 10:50:29 +01:00
ei eigenlayer: 0.6.1 -> 0.6.2 2024-02-19 01:44:08 +00:00
ek/eksctl eksctl: 0.170.0 -> 0.171.0 2024-02-10 06:28:05 +00:00
el elvish: 0.20.0 -> 0.20.1 2024-02-15 15:29:04 +00:00
em Merge pull request #276376 from lolbinarycat/emacsclient-commands 2024-02-20 18:21:30 +01:00
en envio: 0.5.0 -> 0.5.1 2024-02-17 06:26:14 +00:00
er Merge pull request #278951 from sund3RRR/errands-init 2024-02-20 10:46:15 +01:00
es cargo-espflash: rename to espflash (#286386) 2024-02-09 11:50:17 -05:00
eu
ex ext3grep: init at 0.10.2 2024-02-12 22:06:21 +01:00
ez/eza eza: 0.18.2 -> 0.18.3 2024-02-15 08:40:15 +01:00
fa fantomas: add darwin platforms 2024-02-18 18:53:25 +01:00
fb/fbset fbset: init at 2.1 2024-01-30 07:00:55 +01:00
fc
fe
ff
fi files-cli: 2.12.36 -> 2.12.37 2024-02-19 15:32:46 +00:00
fl flottbot: init at 0.13.0 2024-02-20 12:26:22 +01:00
fm
fn/fnott
fo Merge pull request #254526 from panicgh/foonathan-memory 2024-02-07 14:23:40 +01:00
fr freefilesync: 13.3 -> 13.4 2024-02-18 21:34:31 +01:00
fu/fuchsia-cursor fuchsia-cursor: init at 2.0.0 2024-01-28 18:08:44 +01:00
fw/fwupd fwupd: 1.9.12 -> 1.9.13 2024-02-09 16:45:09 +01:00
fy/fypp fypp: move python application out of python-modules, refactor 2024-02-05 23:08:15 +01:00
ga galleta: add darwin support 2024-02-18 20:47:40 +01:00
gb/gbar
gc Merge pull request #286810 from wegank/gcli-platforms 2024-02-08 01:26:32 +01:00
ge gerbolyze: init at v3.1.7 2024-02-17 01:22:36 -05:00
gh ghunt: 2.0.1 -> 2.1.0 2024-02-20 21:12:18 +01:00
gi gittuf: init at 0.3.0 2024-02-04 23:42:07 +01:00
gl glauth: 2.3.1 -> 2.3.2 2024-02-19 07:31:38 +00:00
gm/gmic
go goldwarden: 0.2.10 -> 0.2.12 2024-02-20 06:18:18 +00:00
gp pkgs.gptscript: init at 0.1.1 2024-02-19 20:12:51 -08:00
gr Merge pull request #288697 from diegs/add-diegs-graphite-cli-maintainer 2024-02-15 03:36:57 +00:00
gt gtt: 8 -> 9 2024-02-11 18:12:18 +01:00
gu Merge pull request #275493 from chitochi/guile-chickadee 2024-01-30 17:23:00 +01:00
h8/h8mail
ha Merge pull request #287481 from onemoresuza/hare 2024-02-10 17:52:12 +01:00
hd/hdrop
he helix-gpt: 0.25 -> 0.27 2024-02-09 20:39:55 -05:00
hi/hifile
hj/hjson-go
ho
ht scitoken-cpp -> scitokens-cpp (#288390) 2024-02-13 16:12:20 -05:00
hu/hugo hugo: 0.122.0 -> 0.123.0 2024-02-19 23:48:31 +00:00
hy hyprlang: 0.3.1 -> 0.3.2 2024-02-17 11:35:39 +00:00
i3
ia ianny: init at v1.0.0beta.1 2024-01-27 16:03:16 +00:00
ic
id/idsk
if/ifrextractor-rs
ig ignite-cli: 28.1.1 -> 28.2.0 2024-02-07 05:39:58 +00:00
ii
im immersed-vr: 9.6 -> 9.10 2024-02-17 11:37:22 -05:00
in {lxd,incus}.ui: 0.5 -> 0.6 2024-02-16 22:29:24 +01:00
ir/ironbar ironbar: 0.14.0 -> 0.14.1 2024-02-11 09:48:04 +00:00
ja Merge pull request #286668 from r-ryantm/auto-update/jasper 2024-02-19 19:07:17 +01:00
jd/jdt-language-server jdt-language-server: Call installlPhase hooks 2024-01-25 19:50:35 +01:00
ji
jj/jj
jn/jnr-posix jnr-posix: init at 3.1.18 2024-02-02 10:00:33 +13:00
jo javaPackages.jogl_2_4_0: rename to jogl 2024-02-10 18:00:38 +01:00
js/jsoncons jsoncons: init at 0.173.4 2024-02-14 00:27:58 +04:00
ju/justbuild
ka
kc/kconfig-frontends
kd/kdsingleapplication
ke Merge pull request #289946 from peterablehmann/Package--keepassxc-go 2024-02-20 17:36:11 +01:00
kg/kgeotag
ki Merge pull request #282429 from fabaff/killerbee 2024-02-19 23:55:37 +01:00
kl/klog-time-tracker
km/kmsvnc kmsvnc: 0.0.5 -> 0.0.6 2024-02-06 05:06:18 +00:00
kn/knossosnet knossosnet: init at 1.0.0 2024-02-14 21:09:29 -05:00
ko kor: 0.3.4 -> 0.3.5 2024-02-20 12:38:25 +00:00
kp/kplex
ks/kseexpr
kt
ku
kx/kxstitch
la
lc/lcab
le Merge pull request #284332 from r-ryantm/auto-update/lefthook 2024-02-05 21:02:58 +01:00
li libnghttp2_asio: init at unstable 2022-08-11 2024-02-16 10:59:35 +03:00
ll llama-cpp: 2135 -> 2167 2024-02-16 21:01:12 +00:00
ln/lngen
lo louvre: 1.1.0-1 -> 1.2.0-2 2024-02-17 08:15:36 +00:00
ls/lshw
lu lunar-client: 3.2.1 -> 3.2.3 2024-02-14 22:08:19 +01:00
lw/lwgrp
lz lzlib: 1.13 -> 1.14 2024-02-09 11:09:15 +00:00
m2
ma Merge pull request #267461 from KUD-00/init-marcel 2024-02-13 03:19:54 -08:00
mc mcomix: 3.0.0 -> 3.1.0 2024-02-04 18:00:25 -05:00
md Merge pull request #288305 from nix-julia/add-mdbook-pdf-outline 2024-02-12 17:42:16 +01:00
me menulibre: init at 2.2.3 2024-02-13 00:31:54 -03:00
mf/mfoc-hardnested
mg/mgitstatus
mi miru: init at 4.5.10 2024-02-15 16:58:05 +01:00
mk
ml/mlx42
mo Merge pull request #289483 from toastal/movim-init 2024-02-17 14:59:30 +07:00
mp/mpifileutils
mq/mqttx mqttx: 1.9.8 -> 1.9.9 2024-02-08 15:18:49 +01:00
ms msolve: 0.6.3 -> 0.6.4 2024-02-11 04:15:02 +01:00
mu
my myrescue: init at 0.9.8 2024-02-18 12:50:43 +01:00
n2/n2
na namespace-cli: 0.0.340 -> 0.0.341 2024-02-20 15:14:39 +00:00
nb/nbtscan nbtscan: init at 1.7.2-unstable-2022-10-29 2024-02-17 16:00:40 +01:00
nc/ncdc
ne Merge pull request #267413 from timbertson/netproxrc 2024-02-17 21:26:07 +01:00
nf/nfft
nh/nh
ni Merge pull request #288861 from IogaMaster/niri-0.1.1 2024-02-15 14:33:37 +02:00
nl
nm/nmap-parse nmap-parse: init at 0-unstable-2022-09-26 2024-02-03 23:51:00 +01:00
nn/nncp
no normcap: disable flaky test 2024-02-18 20:08:19 +01:00
np np: init at 0.11.0 2024-02-03 23:19:06 +01:00
nr nrr: 0.5.0 -> 0.5.2 2024-02-14 08:14:49 +08:00
ns
nu numbat: 1.9.0 -> 1.10.1 2024-02-13 13:19:16 +01:00
nv nixosTests.nvmetcfg: init 2024-02-02 17:10:25 -05:00
nw nwg-hello: init at 0.1.6 2024-02-01 08:11:03 -06:00
oa oam-tools: init at 0.1.2 2024-01-28 18:15:25 +01:00
ob obs-do: 0.1.0 -> 0.1.1 2024-02-11 13:55:17 +01:00
oc ocenaudio: fix url 2024-02-09 14:09:22 +00:00
oe/oelint-adv oelint-adv: 4.2.0 -> 4.3.0 2024-02-17 12:41:30 +00:00
of/offpunk offpunk: 2.1 -> 2.2 2024-02-12 22:47:52 +01:00
oh/oh-my-fish
oi oil: add myself as maintainer 2024-02-08 10:19:10 +01:00
on onlyoffice-bin, onlyoffice-bin_latest: move to pkgs/by-name 2024-02-05 16:38:53 -05:00
op Merge pull request #287443 from orivej/opensoundmeter 2024-02-19 22:40:34 +00:00
or ory: 0.3.2 -> 0.3.4 2024-02-11 10:04:21 +00:00
ot oterm: fix build 2024-02-11 11:30:10 +08:00
ou/outputcheck
ov
ow/owncloud-client
pa Merge pull request #290224 from patka-123/paratest-7.4.3 2024-02-20 18:38:29 +01:00
pd Merge pull request #289632 from marsam/add-pdfannots 2024-02-18 17:00:34 -05:00
pe Merge pull request #282470 from raspher/peergos 2024-02-08 01:29:32 +00:00
pf/pfft
pg pgmoneta: 0.8.0 -> 0.9.0 2024-02-15 00:01:37 +00:00
ph phel: replace postCheckInstall with postInstallCheck 2024-02-15 22:26:38 +01:00
pi Merge pull request #288667 from thiagokokada/cleanup-picom 2024-02-15 10:31:16 +00:00
pk/pkcrack
pl plumber: build only main executable 2024-02-18 04:20:00 +00:00
pm pmtiles: 1.14.1 -> 1.17.0 2024-02-15 21:15:07 +00:00
pn/pnfft
po popcorntime: 0.4.9 -> 0.5.0 2024-02-10 19:24:55 +01:00
pp/ppsspp ppsspp: 1.17 -> 1.17.1 2024-02-05 07:12:45 +00:00
pr preserves-tools: 4.992.2 -> 4.994.0 2024-02-16 14:10:36 +00:00
pt ptunnel: init at 0.72 2024-02-18 21:39:15 +01:00
pu purescm: init at 1.8.2 2024-02-20 15:58:48 +07:00
pw
px/pxder
py pyprland: 1.10.2 -> 2.0.3 2024-02-21 02:53:11 +03:00
pz/pzip
qa/qadwaitadecorations qadwaitadecorations-qt6: 0.1.3 -> 0.1.4 2024-01-26 12:40:37 +00:00
qc/qcm qcm: init at 1.0.2 2024-02-09 00:42:18 +08:00
qg/qgrep
qr qrtool: 0.10.4 -> 0.10.5 2024-02-19 00:59:41 +00:00
qs qsreplace: use buildGoModule 2024-02-06 23:08:55 +08:00
qt/qtractor
qu Merge pull request #251015 from TomaSajt/quark-goldleaf 2024-02-16 23:15:06 +01:00
ra raft-cowsql: 0.19.1 -> 0.22.0 2024-02-11 15:52:21 +00:00
rc rclip: 1.7.24 -> 1.7.26 2024-02-19 08:42:07 +08:00
re Merge pull request #290095 from r-ryantm/auto-update/renode-unstable 2024-02-20 08:58:12 -05:00
ri
rl/rl_json
rm/rmg rmg: Fix licensing 2024-01-28 22:33:51 +01:00
ro Merge pull request #285645 from konradmalik/roslyn-ls 2024-02-17 21:12:08 +01:00
rp/rpcs3
rq/rqbit
rs
rt/rtl-sdr-osmocom
ru rustdesk-flutter: unstable-2024-02-03 -> 1.2.3-unstable-2024-02-11 2024-02-12 17:00:40 +01:00
rw/rwpspread rwpspread: 0.1.8 -> 0.1.9 2024-02-13 03:50:24 +00:00
s3/s3scanner
sa satty: 0.8.3 -> 0.9.0 2024-02-13 08:35:44 +00:00
sc Merge pull request #288039 from D3vil0p3r/patch-15 2024-02-17 10:05:41 -08:00
sd sdcc: 4.2.0 -> 4.4.0 2024-02-13 12:47:11 +01:00
se seclists: 2023.4 -> 2024.1 2024-02-16 19:04:16 +00:00
sg/sgfutils
sh shittier: init at unstable-2023-12-22 2024-02-19 14:37:34 +01:00
si Merge pull request #257997 from mightyiam/sink-rotate 2024-02-18 14:08:54 +07:00
sl
sm smag: init at 0.7.0 2024-02-17 03:46:10 +01:00
sn snicat: set ldflags 2024-02-06 23:17:47 +08:00
so
sp Merge pull request #287495 from DataHearth/feat/spacedrive/0.1.4-0.2.3 2024-02-21 04:59:41 -05:00
sq/sqlite-vss
sr Merge pull request #271324 from nessdoor/sourcehut/tests 2024-02-17 20:58:22 +01:00
ss
st steamguard-cli: 0.12.5 -> 0.12.6 2024-02-19 23:13:18 +00:00
su supersonic: 0.8.2 -> 0.9.0 2024-01-28 02:52:18 +10:00
sv svp: init at 4.5.210-2 2024-01-27 13:58:55 -08:00
sw Merge pull request #282067 from michaelgrahamevans/switcheroo 2024-02-03 17:26:55 +01:00
sx
sy syn2mas: 0.7.0 -> 0.8.0 2024-02-10 10:56:06 +00:00
ta tailscale-nginx-auth: 1.58.0 -> 1.58.2 2024-01-27 23:40:34 +00:00
tc/tcsh
td/tdl tdl: 0.15.1 -> 0.16.0 2024-02-15 16:42:20 +04:00
te Merge pull request #286147 from gangaram-tii/pr/tetragon 2024-02-06 15:29:05 +01:00
th
ti tigerbeetle: 0.14.179 -> 0.14.180 2024-02-21 06:46:15 +00:00
tk/tkdiff
tl tlmi-auth: enable cross-compliation by correctly classifying dependencies 2024-02-03 12:13:37 +01:00
tm/tmuxifier
to
tp
tr treedome: 0.3.3 -> 0.4 2024-02-18 19:17:31 +07:00
tt/ttop
tu tuxclocker: 1.4.0 -> 1.5.0 2024-01-31 15:40:32 +02:00
tx/txr
ty typst-preview: 0.10.5 -> 0.10.8 2024-02-20 15:35:18 +01:00
uc
ud
ue/uemacs
ui uiua: 0.7.1 -> 0.8.0 2024-01-31 18:19:23 +01:00
um/umpire umpire: init at 2023.06.0 2024-01-30 10:43:43 +01:00
un Merge pull request #258773 from nevivurn/feat/unison-fsmonitor-init 2024-02-12 19:47:42 +01:00
up updatecli: 0.70.0 -> 0.72.0 2024-02-11 04:50:35 +00:00
us/usql
ut/ut
uu/uuu
uv/uv uv: 0.1.5 -> 0.1.6 2024-02-20 21:07:49 +01:00
ux/uxn uxn: unstable-2024-02-14 -> unstable-2024-02-15 2024-02-18 18:10:06 +00:00
va/valijson
vc vcpkg: 2024.01.12 -> 2024.02.14 2024-02-16 22:48:06 +00:00
ve vesktop: use stdenv instead of gcc13Stdenv 2024-02-13 21:29:43 +00:00
vg/vgm2x
vi vibrantlinux: fix revision to contain v prefix 2024-02-11 11:50:12 +00:00
vu/vulkan-volk
wa Merge pull request #287346 from atorres1985-contrib/waf 2024-02-16 16:00:51 +00:00
wb/wb32-dfu-updater
we
wh whistle: 2.9.63 -> 2.9.64 2024-02-01 04:49:14 +00:00
wi wiremock: 3.3.1 -> 3.4.0 2024-02-18 22:35:43 +00:00
wl
wo worker: 5.0.0 -> 5.0.1 2024-01-26 21:21:41 +00:00
wp/wp-cli
ws/wslay
wt/wtfis wtfis: 0.7.1 -> 0.8.0 2024-02-20 04:57:55 +00:00
x1/x16
xa/xarcan
xc/xcbeautify xcbeautify: init at 1.4.0 2024-02-13 13:42:32 +05:30
xd xdg-desktop-portal-cosmic: set meta.mainProgram 2024-02-19 19:50:07 +01:00
xf/xfs-undelete
xi xiu: init at 0.10.0 2024-02-13 04:20:00 +00:00
xm
xo xonsh: 0.14.0 -> 0.14.4 (#282368) 2024-02-04 23:06:22 +01:00
xp/xplr
xs Add appres to the path for xscreensaver 2024-02-01 18:03:37 +13:00
xw/xwayland-run
ya yazi: use wrapper to avoid rebuild 2024-02-19 00:21:06 +08:00
ye
yg/yggdrasil yggdrasil: 0.5.4 -> 0.5.5 2024-01-29 18:48:36 +00:00
yj/yj
yo youtrack: 2023.3.23390 -> 2023.3.24329 2024-02-11 08:33:46 +00:00
ys/ysfx ysfx: init at 0-unstable-2022-07-31 2024-02-10 22:53:41 +00:00
yt
yu/yunfaavatar
za/zapzap zapzap: 5.1.3 -> 5.2 2024-02-17 18:15:29 +01:00
zb/zbus-xmlgen
zc/zcfan
ze/zesarux
zi zigpy-cli: init at 1.0.4 (#289805) 2024-02-20 23:03:01 +01:00
zo/zola
zp
zs/zs
zu/zug
zw/zwave-js-server
zx
README.md

Name-based package directories

The structure of this directory maps almost directly to top-level package attributes. Add new top-level packages to Nixpkgs using this mechanism whenever possible.

Packages found in the name-based structure are automatically included, without needing to be added to all-packages.nix. However if the implicit attribute defaults need to be changed for a package, this must still be declared in all-packages.nix.

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.