1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/by-name
2024-09-03 19:53:54 +08:00
..
_0/_0xpropo
_2/_2ship2harkinian
_4
_6/_64gram
_9/_9base
a4/a4
a5/a52dec
aa aaaaxy: 1.5.183 -> 1.5.190 2024-08-29 13:56:33 +02:00
ab treewide: remove refs/tags/ from github release meta.changelog urls 2024-08-29 22:45:00 -04:00
ac act: migrate to by-name 2024-09-01 18:06:56 +04:00
ad adrs: 0.2.8 -> 0.2.9 2024-09-01 14:47:28 +01:00
ae aegisub: change --replace to --replace-fail 2024-08-27 16:33:29 +02:00
af
ag gnome-bluetooth{,_1_0}: Move to by-name 2024-09-01 14:16:31 +02:00
ai aider-chat: 0.51.0 -> 0.53.0 2024-08-28 10:26:29 +00:00
al ffmpeg_4: almost drop (#336401) 2024-08-27 22:08:20 +02:00
am amazon-ssm-agent: substitute --replace with --replace-fail (#337268) 2024-09-02 20:32:37 -04:00
an ansel: fix build 2024-09-01 19:13:57 +02:00
ao/aocl-utils
ap apfsprogs: substitute --replace with --replace-fail (#337271) 2024-09-02 20:33:31 -04:00
aq/aquamarine aquamarine: 0.3.3 -> 0.4.0 2024-09-02 21:47:43 +05:30
ar armitage: substitute --replace with --replace-fail (#337270) 2024-09-02 20:33:10 -04:00
as ast-grep: 0.24.1 -> 0.26.3 2024-08-27 07:36:42 +00:00
at atac: 0.16.0 -> 0.18.0 2024-08-25 09:27:58 +00:00
au audiobookshelf: 2.12.3 -> 2.13.2 2024-09-02 12:23:32 +00:00
av av1an: filter updateScript 2024-08-25 22:57:59 -04:00
aw awscli2: 2.17.18 -> 2.17.42 2024-09-01 17:05:46 +02:00
ax
ay gnome-settings-daemon{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
az
b3/b3sum
ba treewide: remove refs/tags/ from github release meta.changelog urls (#338301) 2024-09-01 10:53:48 +09:00
bc
bd
be beon: init at 2024-02-26 (#337890) 2024-09-03 11:13:40 +02:00
bi bitrise: 2.20.0 -> 2.20.1 2024-08-31 20:56:29 +00:00
bk/bk
bl Merge master into staging-next 2024-08-28 18:04:19 +00:00
bm bmaptool: rename from bmap-tools and bump 3.6 -> 3.8.0 (#332434) 2024-09-02 11:35:06 +02:00
bn/bngblaster
bo boxbuddy: 2.2.9 -> 2.2.10 2024-08-31 00:29:33 +00:00
bp
bq/bqn
br breakpointHook: move to by-name, mark broken instead of asserting 2024-08-30 15:03:42 -07:00
bs
bt
bu mutter{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
by
c-
c2 c2patool: 0.9.7 -> 0.9.8 2024-08-31 00:27:27 +00:00
ca catppuccin-cursors: 0.3.0 -> 0.3.1 (#336832) 2024-09-01 13:28:18 +00:00
cb
cc
cd
ce cemu: fix build, missing wayland-scanner 2024-08-31 11:14:44 +02:00
cg
ch chirp: migrate to by-name 2024-09-01 23:08:58 +04:00
ci cirrus-cli: migrate to by-name 2024-09-01 16:53:43 +04:00
cj/cjs
cl
cm cmd-wrapped: 0.2.0 -> 0.4.1 2024-09-02 10:07:32 +08:00
cn
co treewide: remove uses of deprecated Rust functions 2024-09-02 21:48:21 +02:00
cp cpuinfo: 0-unstable-2024-08-07 -> 0-unstable-2024-08-30 (#338671) 2024-08-31 22:48:09 +00:00
cq/cq
cr crystal-dock: init at 2.2 (#332121) 2024-09-03 00:50:45 +01:00
cs csharpier: 0.28.2 -> 0.29.1 (#338016) 2024-09-01 19:48:19 -06:00
ct/ctx
cu
cv/cvemap
cw/cwe-client-cli cwe-client-cli: init at 0.3.2 2024-09-01 21:21:59 +03:00
cy cyme: 1.8.1 -> 1.8.2 2024-08-30 18:29:28 +00:00
cz/czkawka
da
db dbeaver-bin: 24.1.5 -> 24.2.0 2024-09-03 06:22:01 +00:00
dc
dd
de dezoomify-rs: fix build on Darwin (#336677) 2024-09-03 02:45:37 +03:00
dg/dgoss
dh/dhcpig
di diesel-cli: 2.2.1 -> 2.2.3 (#337382) 2024-08-26 18:28:43 -04:00
dj/djent
dm
dn
do docfd: 7.0.0 -> 8.0.1 (#337919) 2024-09-01 10:04:21 +02:00
dp
dr
ds
dt
du
dv/dvb-apps
dw dwl: 0.6 -> 0.7 2024-08-30 14:52:04 +02:00
dx
dy
e1/e1s
ea
eb
ec
ed edk2: add loongarch64 support 2024-09-02 11:12:24 +03:00
ee/eepers
ef/efibootmgr
eg/eg25-manager eg25-manager: 0.4.6 -> 0.5.0 2024-08-28 16:37:16 +02:00
ei eigenlayer: 0.10.2 -> 0.10.3 2024-08-29 00:07:10 +00:00
ej/ejsonkms
ek/eksctl
el
em
en
eo/eog
ep
er eris-go: 20240128 -> 20240826 2024-08-27 05:00:44 +00:00
es eslint: 9.7.0 -> 9.9.1 2024-08-31 10:46:21 +02:00
et
eu
ev
ew/eww
ex
ey/eyewitness
ez/eza eza: 0.19.0 -> 0.19.1 2024-08-28 14:19:59 +02:00
f2/f2fs-tools
fa fastfetch: 2.22.0 -> 2.23.0 2024-09-02 22:17:03 -05:00
fb/fbset
fc
fe feishin: use electron.dist 2024-08-27 21:37:15 +02:00
ff fflogs: 8.12.19 -> 8.13.1 (#336212) 2024-09-01 16:52:32 +00:00
fg/fgqcanvas
fi filebot: 5.1.4 -> 5.1.5 (#336870) 2024-09-03 19:53:54 +08:00
fj/fjo
fl flye: 2.9.4 -> 2.9.5 (#338986) 2024-09-03 00:03:52 +00:00
fm fmtoy: 0-unstable-2024-06-07 -> 0-unstable-2024-06-11 (#325489) 2024-08-28 10:12:53 +02:00
fn/fnott
fo forgejo-lts: 7.0.7 -> 7.0.8 2024-08-29 18:15:17 +02:00
fr frankenphp: 1.2.4 -> 1.2.5 2024-08-28 00:56:55 +00:00
fs
ft/fte
fu
fv
fw/fwupd
fx/fx
fy fyne: 2.5.0 -> 2.5.1 2024-08-25 21:25:44 +00:00
fz fzf: 0.54.3 -> 0.55.0 2024-08-30 00:09:24 +10:00
g3/g3kb-switch
ga gate: 0.39.2 -> 0.39.3 (#335674) 2024-09-01 22:44:23 -04:00
gb
gc
gd
ge gersemi: init at 0.15.1 (#334747) 2024-09-03 19:48:04 +08:00
gf
gg/gg gg: 0.2.18 -> 0.2.19 2024-08-31 13:04:51 +00:00
gh ghdl: enable builds on "x86_64-darwin" (#335975) 2024-09-03 19:51:19 +08:00
gi gitlab-ci-local: add version test (#306146) 2024-09-03 19:44:42 +08:00
gk/gk-cli
gl glfw-minecraft: merge glfw-wayland-minecraft into glfw 2024-09-01 15:12:21 +02:00
gm gmid: 2.1 -> 2.1.1 2024-08-25 13:04:26 +00:00
gn gnome-monitor-config: fix cross compilation, set strictDeps (#338668) 2024-09-03 01:57:15 +03:00
go google-chrome: 128.0.6613.84 -> 128.0.6613.113 2024-09-02 16:05:03 +00:00
gp
gr grafana-alloy: 1.3.0 -> 1.3.1 2024-08-27 21:23:42 +02:00
gt
gu
gv/gvisor
gx/gxml
h2/h2
h5/h5utils
h8/h8mail
ha harper: 0.9.5 -> 0.10.0 (#338709) 2024-09-01 21:57:38 -04:00
hb/hb-honeypot
hc/hclfmt hclfmt: 2.21.0 -> 2.22.0 2024-08-26 13:03:28 +00:00
hd hdrop: 0.5.0 -> 0.6.0 2024-09-02 18:41:36 +02:00
he heptabase: 1.35.4 -> 1.35.5 2024-09-01 02:33:54 +00:00
hi
hj/hjson-go
hn/hn-text
ho home-manager: 0-unstable-2024-08-18 -> 0-unstable-2024-08-23 2024-08-27 14:37:09 +00:00
hp
ht
hu hugo: 0.132.1 -> 0.133.1 2024-08-27 04:31:22 +08:00
hv/hvm
hw/hwinfo
hx/hxtools hxtools: init at 20231224 2024-08-25 15:01:04 +02:00
hy hypridle: fix build, missing wayland-scanner 2024-08-31 11:23:44 +02:00
i2/i2p i2p: 2.6.0 -> 2.6.1 2024-08-25 19:52:56 +02:00
i3
ia
ic
id
if
ig
ii
ij ijq: 1.1.1 -> 1.1.2 2024-08-28 10:33:15 -05:00
im imhex: 1.35.3 -> 1.35.4 2024-08-30 12:04:00 +02:00
in inshellisense: 0.0.1-rc.15 -> 0.0.1-rc.16 (#338240) 2024-09-03 10:18:41 +02:00
io
ip
ir
is
it
iv
iw/iw
iz/izrss
ja
jc/jcli
jd/jdt-language-server
je jellyfin: 10.9.7 -> 10.9.10 2024-08-25 16:48:30 +02:00
ji
jj/jj
jn
jo
jq/jq-zsh-plugin
jr jreleaser-cli: 1.13.1 -> 1.14.0 2024-08-31 13:14:13 +00:00
js
jt/jtdx
ju just: 1.34.0 -> 1.35.0 2024-08-30 13:06:10 +05:30
jw/jwasm
ka kanidm: require big-parallel for building 2024-08-28 17:55:32 -04:00
kc
kd
ke keycastr: added update script (#337745) 2024-09-01 17:49:20 +02:00
kg/kgeotag
ki musly: add patches for FFmpeg 7, C++17, and external deps; kissfft: build with CMake; libresample: 0.1.3 -> 0.1.4-unstable-2024-08-23 (#332035) 2024-08-27 01:12:57 +01:00
kl
km
kn
ko koboldcpp 1.73.1 -> 1.74 (#338587) 2024-09-02 23:09:21 +05:30
kp/kplex
kr
ks
kt
ku kulala-fmt: 1.3.0 -> 1.3.1 2024-08-31 13:28:39 +00:00
kv/kvmarwaita
kx
ky
la treewide: remove refs/tags/ from github release meta.changelog urls (#338301) 2024-09-01 10:53:48 +09:00
lb
lc
ld
le legba: fix darwin build (#336084) 2024-08-27 09:07:46 -04:00
lg/lgogdownloader
li liberasurecode: 1.6.3 -> 1.6.4 (#338883) 2024-09-02 11:29:39 +02:00
lk/lk-jwt-service
ll llama-cpp: 3620 -> 3645 2024-08-30 13:52:39 +00:00
lm lmstudio: 0.3.1 -> 0.3.2 2024-09-02 01:10:09 -05:00
ln/lngen
lo Merge master into staging-next 2024-08-28 06:04:54 +00:00
lp
lr/lrcget
ls lsd: 1.1.3 -> 1.1.5 2024-08-26 13:01:33 +00:00
lt/ltris
lu lunar-client: 3.2.16 -> 3.2.17 2024-09-01 15:42:57 +02:00
lv/lv_font_conv
lw/lwgrp
lx lxgw-fusionkai: init at 24.134 2024-09-02 01:32:22 +00:00
lz
m1/m1ddc
m2
ma marwaita-red: 20.3.1 -> 21 2024-09-03 01:40:52 +00:00
mb
mc
md mdt: 0.8.5 -> 0.8.6 2024-09-01 04:51:39 +00:00
me meteor-git: 0.23.0 -> 0.23.1 2024-09-03 04:22:42 +00:00
mf
mg
mi micro: add pbsds to maintainers (#338085) 2024-08-29 21:04:21 -04:00
mk
ml/mlx42
mo mongodb-ce: 7.0.12 -> 7.0.14 2024-08-29 11:11:39 +02:00
mp
mq mqttx: 1.9.9 -> 1.10.1 (#337424) 2024-09-02 20:37:21 -04:00
mr/mricron
ms
mu mutter{,43}: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
my
n2/n2
n8/n8n n8n: make deterministic, decrease closure size 2024-08-25 01:40:03 +02:00
n9/n98-magerun2
na naja: 0-unstable-2024-07-21 -> 0-unstable-2024-08-27, fix darwin (#337288) 2024-08-29 13:38:55 +02:00
nb nbqa: 1.8.7 -> 1.9.0 (#337735) 2024-08-27 20:03:19 +02:00
nc
nd/ndstrim
ne nexus: 3.69.0-02 -> 3.70.1-02 (#337433) 2024-09-02 20:46:12 -04:00
nf
ng
nh nhost-cli: 1.22.3 -> 1.23.0 2024-08-31 21:23:03 +00:00
ni Merge master into staging-next 2024-08-30 12:05:11 +00:00
nl
nm
nn
no nomacs: support more formats (#337901) 2024-09-02 06:39:33 +00:00
np
nr nrr: 0.9.4 -> 0.9.5 2024-08-26 07:22:01 +00:00
ns
nt
nu nuv: remove breakpointHook from nativeBuildInputs 2024-08-30 15:03:42 -07:00
nv
nw nwg-panel: 0.9.37 -> 0.9.38 2024-08-28 12:37:48 +00:00
nx/nxengine-evo
nz
oa
ob obs-cmd: 0.17.6 -> 0.17.7 2024-09-02 02:23:45 +00:00
oc
od
oe/oelint-adv
of
oh
oi oidc-agent: 5.1.0 -> 5.2.0 2024-08-29 08:02:22 +00:00
ok okteto: 2.30.1 -> 2.30.2 2024-08-26 17:32:54 +00:00
ol ollama: 0.3.5 -> 0.3.9 2024-09-01 14:58:10 -04:00
om
on onedrive: fixup version test 2024-08-28 12:37:43 -03:00
oo
op openfst: 1.8.2 -> 1.8.3 (#280667) 2024-09-01 16:19:49 +04:00
oq/oqs-provider
or
os
ot
ou
ov ovn: 24.03.2 -> 24.03.3 2024-08-24 12:50:52 +00:00
ow
pa treewide: remove refs/tags/ from github release meta.changelog urls 2024-08-29 22:45:00 -04:00
pc
pd
pe petsc: moved mpiSupport flag to passthru 2024-08-24 12:10:31 +00:00
pf/pfft
pg pgraphs: 0.6.13 -> 0.6.17 (#333191) 2024-08-28 20:29:51 -04:00
ph
pi picocrypt-cli: 2.05 -> 2.06 (#338522) 2024-08-31 12:29:21 +00:00
pk
pl
pm
pn
po treewide: remove refs/tags/ from github release meta.changelog urls 2024-08-29 22:45:00 -04:00
pp/ppsspp
pq
pr prismlauncher: use top level X11 packages 2024-09-01 15:13:32 +02:00
ps
pt
pu pupdate: 3.11.1 -> 3.12.0 2024-08-28 16:47:59 +00:00
pv
pw
px/pxder
py pyradio: migrate to by-name 2024-09-02 23:31:22 +04:00
pz/pzip
qa/qadwaitadecorations
qb/qbittorrent-enhanced qbittorrent-enhanced: 4.6.5.10 -> 4.6.6.10 2024-08-30 08:53:30 +00:00
qc/qcm qcm: 1.0.4 -> 1.0.5 2024-08-26 12:21:11 +08:00
qd
qg/qgrep
qm/qmplay2
qn/qnial
qo/qodem
qp/qpoases
qq/qq qq: enable wayland-ime 2024-09-01 11:15:08 +08:00
qr
qs
qt/qtractor
qu quarkus: 3.13.2 -> 3.14.1 2024-09-01 18:53:48 +00:00
qw/qwerty-fr
r0/r0vm
r1/r10k
ra radicle-httpd: 0.15.0 -> 0.17.0 (#338980) 2024-09-02 17:20:31 +02:00
rc rcp: 0.12.0 -> 0.13.0 2024-09-02 17:46:06 +00:00
rd/rdwatool
re renovate: 38.55.4 -> 38.62.0 2024-09-02 18:59:15 +00:00
rf/rfdump
rh/rHttp
ri Merge master into staging-next 2024-08-30 18:04:02 +00:00
rk box64: 0.2.8 -> 0.3.0 (#326034) 2024-08-27 16:34:12 +02:00
rl/rl_json
rm rmpc: set meta.platforms to linux 2024-08-31 08:40:57 -04:00
rn
ro rospo: init at 0.12.1 (#332753) 2024-09-01 18:23:53 +02:00
rp/rpcs3 rpcs3: 0.0.32-16857-1c16ada67 -> 0.0.32-16875-3b36df48e 2024-08-29 09:45:44 +00:00
rq
rr/rrdtool
rs
rt rtorrent: 0.9.8-unstable-2024-08-09 -> 0.9.8-unstable-2024-08-20 2024-08-24 09:50:08 +00:00
ru Merge branch 'master' into add-rutorrent-service 2024-09-03 01:18:16 +00:00
rw/rwpspread
ry ryujinx: 1.1.1379 -> 1.1.1382 2024-08-31 18:25:11 +00:00
s0/s0ix-selftest-tool
s3
sa sabnzbd: 4.3.2 -> 4.3.3 2024-08-26 18:48:07 +00:00
sb sby: Fix description. Remove duplicated inputs. --replace-fail instead of --replace. Be specific about which files patchShebangs is applied to. Run hooks in installPhase. Use btor2tools as input now that is updated 2024-08-24 16:33:28 -05:00
sc scenefx: fix build 2024-09-01 12:30:52 -04:00
sd
se sesh: 1.2.0 -> 2.0.2 (#336668) 2024-09-01 22:53:24 -04:00
sf/sfwbar sfwbar: fix build, missing wayland-scanner 2024-08-31 11:35:00 +02:00
sg/sgfutils
sh Merge pull request #318197 from getchoo/pkgs/showtime/init 2024-08-26 11:52:13 +08:00
si siyuan: add desktop entry & icon, enable wayland ime (#337021) 2024-09-01 13:37:10 +00:00
sk skypeforlinux: 8.126.0.208 -> 8.127.0.200 2024-08-29 19:51:25 +00:00
sl slumber: 1.5.0 -> 1.8.1 2024-08-25 14:57:10 +02:00
sm
sn treewide: replace all pytest-cov patching outside of pythonPackages with pytest-cov-stub 2024-08-27 20:47:13 +02:00
so
sp treewide: remove uses of deprecated Rust functions 2024-09-02 21:48:21 +02:00
sq sqlite_orm: 1.8.2 -> 1.9 2024-08-30 08:58:55 +00:00
sr
ss
st stirling-pdf: 0.26.1 -> 0.28.3, add updateScript (#335873) 2024-09-03 11:40:46 +01:00
su surrealdb: fix build (#337916) 2024-08-30 10:29:11 +00:00
sv svt-av1-psy: init at 2.2.1 2024-08-31 10:08:38 +05:30
sw swayimg: 2.3 -> 3.2 (#337114) 2024-09-03 13:10:49 +08:00
sx
sy syshud: 0-unstable-2024-08-24 -> 0-unstable-2024-08-27 2024-08-31 10:05:49 +00:00
t-/t-rex
ta taler-wallet-core: init at 0.12.12 2024-08-29 13:41:33 +02:00
tb/tbump
tc
td
te treewide: remove refs/tags/ from github release meta.changelog urls 2024-08-29 22:45:00 -04:00
tg
th
ti tio: 3.6 -> 3.7 2024-08-31 16:27:44 +00:00
tk
tl
tm
to gnome-shell: Move from gnome scope to top-level 2024-09-01 14:16:31 +02:00
tp tpnote: 1.24.7 -> 1.24.8 (#337046) 2024-09-02 20:36:06 -04:00
tr trealla: 2.55.25 -> 2.55.31 2024-09-01 06:24:54 +00:00
ts/tsm-client
tt
tu
tw
tx
ty treewide: remove refs/tags/ from github release meta.changelog urls 2024-08-29 22:45:00 -04:00
u-/u-config
ub
uc
ud
ue
ug
uh/uhttpmock_1_0
ui uiua: 0.12.2 -> 0.12.3 2024-08-28 04:02:55 +00:00
um/umpire
un
up
ur/urban-cli
us userborn: init at 0.1.0 2024-08-26 12:45:33 +02:00
ut
uu/uuu
uv/uv uv: 0.4.1 -> 0.4.3 2024-09-03 02:08:31 +00:00
uw
ux uxn: 1.0-unstable-2024-08-12 -> 1.0-unstable-2024-08-25 2024-08-28 07:59:36 +00:00
va vale-ls: 0.3.7-unstable-2024-03-13 -> 0.3.8 2024-09-02 00:02:05 +02:00
vc maintainers: remove superherointj 2024-08-26 17:50:54 -03:00
vd/vdhcoapp
ve velero: migrate to by-name 2024-09-01 17:01:01 +04:00
vg vgm2x: 0.0.0-unstable-2023-08-27 -> 0-unstable-2024-06-18 (#325500) 2024-08-28 10:13:26 +02:00
vi vimcats: init at 1.0.2 2024-08-28 11:10:07 +02:00
vk
vl
vm
vn
vo
vp
vs
vu
vv/vvvvvv
vw/vwsfriend
vz/vzic
wa wayprompt: init at 0.1.2 (#337376) 2024-09-02 18:50:23 +03:00
wb
wc/wcurl
we weblate: 5.7 -> 5.7.1 2024-09-03 09:37:32 +02:00
wf/wf-touch
wg/wg-access-server
wh
wi Merge master into staging-next 2024-08-26 18:04:09 +00:00
wl wl-restart: init at 0.2.0 (#337887) 2024-08-31 07:14:26 -07:00
wo
wp
wr/wrangler
ws wstunnel: 10.0.1 -> 10.1.0 2024-08-29 20:24:27 +00:00
wt
wv
wx/wxc
wy/wyoming-satellite
x1/x16 x16: substitute --replace with --replace-fail 2024-08-25 17:07:30 +02:00
x5/x509-limbo
xa xarcan: 0-unstable-2024-08-04 -> 0-unstable-2024-08-26 2024-08-28 04:06:33 +00:00
xc
xd
xe Merge pull request #332099 from fabaff/xeol-darwin 2024-08-25 09:23:46 +02:00
xf/xfs-undelete
xh/xhosts
xi
xl
xm
xn/xnlinkfinder
xo
xp
xr
xs
xu/xunit-viewer
xv/xviewer
xw
ya yandex-music: 5.13.2 -> 5.14.0 2024-09-03 00:41:06 +00:00
yc/ycmd
yd/ydotool
ye
yg
yj/yj
yo youtrack: 2024.2.40106 -> 2024.2.41254 2024-08-27 11:35:21 +00:00
ys/ysfx
yt yt-dlg: fix build 2024-09-02 23:35:08 +02:00
yu yubico-piv-tool: reformat and migrate to pkgs/by-name 2024-08-25 11:39:30 +02:00
za
zb/zbus-xmlgen
zc
ze zenn-cli: init at 0.1.155 (#338580) 2024-09-02 10:17:34 +09:00
zf/zfind
zi
zl/zluda
zm/zmkBATx
zo
zp zpaqfranz: 60.5 -> 60.6 2024-08-26 00:38:15 +00:00
zs
zu
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

$ ./maintainers/scripts/check-by-name.sh master

See here for more info.

Recommendation for new packages with multiple versions

These checks of the pkgs/by-name structure can cause problems in combination:

  1. New top-level packages using callPackage must be defined via pkgs/by-name.
  2. Packages in pkgs/by-name cannot refer to files outside their own directory.

This means that outside pkgs/by-name, multiple already-present top-level packages can refer to some common file. If you open a PR to another instance of such a package, CI will fail check 1, but if you try to move the package to pkgs/by-name, it will fail check 2.

This is often the case for packages with multiple versions, such as

{
  foo_1 = callPackage ../tools/foo/1.nix { };
  foo_2 = callPackage ../tools/foo/2.nix { };
}

The best way to resolve this is to not use callPackage directly, such that check 1 doesn't trigger. This can be done by using inherit on a local package set:

{
  inherit
    ({
      foo_1 = callPackage ../tools/foo/1.nix { };
      foo_2 = callPackage ../tools/foo/2.nix { };
    })
    foo_1
    foo_2
    ;
}

While this may seem pointless, this can in fact help with future package set refactorings, because it establishes a clear connection between related attributes.

Further possible refactorings

This is not required, but the above solution also allows refactoring the definitions into a separate file:

{
  inherit (import ../tools/foo pkgs)
    foo_1 foo_2;
}
# pkgs/tools/foo/default.nix
pkgs: {
  foo_1 = callPackage ./1.nix { };
  foo_2 = callPackage ./2.nix { };
}

Alternatively using callPackages if callPackage isn't used underneath and you want the same .override arguments for all attributes:

{
  inherit (callPackages ../tools/foo { })
    foo_1 foo_2;
}
# pkgs/tools/foo/default.nix
{
  stdenv
}: {
  foo_1 = stdenv.mkDerivation { /* ... */ };
  foo_2 = stdenv.mkDerivation { /* ... */ };
}

Exposing the package set

This is not required, but the above solution also allows exposing the package set as an attribute:

{
  foo-versions = import ../tools/foo pkgs;
  # Or using callPackages
  # foo-versions = callPackages ../tools/foo { };

  inherit (foo-versions) foo_1 foo_2;
}