nixpkgs/pkgs/by-name
Cryolitia PukNgae ce39f8f574
maa-cli: disable build feature core_installer
To prevent user from downloading MaaCore prebuild binary
2024-08-06 00:45:03 +07:00
..
_0/_0xpropo
_2/_2ship2harkinian _2ship2harkinian: reorganize 2024-07-27 18:50:30 -04:00
_4 treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
_6/_64gram
_9/_9base
a4/a4
a5/a52dec
aa
ab
ac
ad
ae aerc: remove excess quotes 2024-07-30 10:25:16 +12:00
af
ag
ai Merge pull request #297914 from t4ccer/t4/aiken/init 2024-08-03 00:31:52 +02:00
al alpaca-proxy: init at 2.0.9 2024-08-04 20:14:04 +02:00
am
an
ao/aocl-utils
ap Merge pull request #331948 from r-ryantm/auto-update/apx-gui 2024-08-03 10:12:13 -04:00
aq/aquamarine aquamarine: 0.1.1 -> 0.2.0 2024-07-31 22:04:46 +05:30
ar art: 1.22.1 -> 1.23 2024-08-05 00:18:24 +00:00
as asm-lsp: 0.7.3 -> 0.7.4 2024-08-04 12:17:41 +00:00
at Merge pull request #331567 from r-ryantm/auto-update/atac 2024-08-04 14:44:37 -04:00
au auto-changelog: remove usage of mkYarnPackage 2024-08-03 22:24:14 -04:00
av avml: init at 0.14.0 2024-08-02 12:50:26 +05:30
aw Merge pull request #330602 from r-ryantm/auto-update/awscli2 2024-08-05 01:25:25 +00:00
ax
ay treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck 2024-07-30 18:32:01 +02:00
az treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
b3/b3sum
ba bazecor: move to by-name 2024-08-04 13:37:09 +02:00
bc
bd
be beanstalkd: move to by-name 2024-07-31 09:10:35 +02:00
bi bitwarden-cli: 2024.7.1 -> 2024.7.2 2024-08-02 02:49:51 -07:00
bk/bk
bl bluesnarfer: init at 0.1 2024-08-04 19:05:59 +00:00
bm/bmake
bn/bngblaster treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck 2024-07-30 18:32:01 +02:00
bo Merge pull request #331463 from r-ryantm/auto-update/boogie 2024-08-04 09:24:25 -04:00
bp bpftop: 0.5.1 -> 0.5.2 2024-07-29 12:41:09 +00:00
bq/bqn
br bruno: 1.23.0 -> 1.23.1 2024-08-05 02:26:00 +00:00
bs bsd-finger: adopt and refactor 2024-07-29 23:22:01 -03:00
bt
bu buildkite-agent: 3.59.0 -> 3.76.1 (#331340) 2024-08-02 21:59:32 +02:00
by
c2 c2patool: 0.9.5 -> 0.9.6 2024-08-01 05:34:14 +00:00
c-
ca Merge pull request #331259 from r-ryantm/auto-update/cargo-swift 2024-08-03 10:47:37 -04:00
cb
cc
cd cddl: move to by-name 2024-08-04 13:37:10 +02:00
ce Merge pull request #328252 from r-ryantm/auto-update/centrifugo 2024-08-04 14:42:28 -04:00
cg
ch treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
ci Merge pull request #331613 from Guanran928/cinny/wrapper 2024-08-05 18:39:03 +02:00
cj/cjs
cl clippy-sarif: 0.5.0 -> 0.6.0 2024-08-01 10:32:48 +00:00
cm cmd-polkit: fix meta.mainProgram binary 2024-07-30 20:43:00 +02:00
cn/cntb
co concurrently: move out of nodePackages 2024-08-05 07:23:25 -07:00
cp treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck 2024-07-30 18:32:01 +02:00
cq/cq
cr treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
cs
ct/ctx
cu treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
cv/cvemap
cy
cz/czkawka
da
db
dc
dd
de Merge pull request #330998 from r-ryantm/auto-update/decker 2024-07-30 19:04:59 -04:00
dg/dgoss
dh/dhcpig
di Merge pull request #332017 from Sigmanificient/diagrams-as-code 2024-08-04 22:53:33 +02:00
dj/djent
dm dmd: mark as broken on x86_64-darwin 2024-07-31 21:27:10 +02:00
dn
do dotenv-cli: remove usage of mkYarnPackage 2024-08-02 23:57:05 -04:00
dp
dr Merge pull request #219942 from vsharathchandra/druid_nix_module 2024-07-28 11:02:06 +02:00
ds
dt
du
dv/dvb-apps
dw/dwl dwl: 0.5 -> 0.6 2024-07-29 23:33:51 -03:00
dx
dy
e1/e1s
ea
eb
ec
ed eduvpn-client: 4.3.1 -> 4.4.0 2024-07-30 10:56:14 +02:00
ee/eepers
ef/efibootmgr
eg/eg25-manager
ei Merge pull request #330536 from r-ryantm/auto-update/eigenlayer 2024-08-04 14:32:27 -04:00
ej/ejsonkms
ek/eksctl eksctl: 0.187.0 -> 0.188.0 2024-08-05 08:31:01 +00:00
el
em
en
eo/eog eog: 45.3 → 45.4 2024-08-03 16:22:49 +08:00
ep
er
es
et ethercat: 1.6.0 -> 1.6.1 2024-08-01 12:09:05 +00:00
eu
ev evolution-data-server: 3.52.3 → 3.52.4 2024-08-03 18:12:49 +08:00
ew/eww
ex
ey/eyewitness
ez/eza eza: 0.18.23 -> 0.18.24 2024-08-03 18:10:49 +02:00
f2/f2fs-tools
fa Merge pull request #329742 from bcdarwin/fastapi-cli-refactor 2024-08-02 09:29:36 +02:00
fb/fbset
fc
fe feishin: 0.7.1 -> 0.7.3 2024-08-02 23:49:04 +01:00
ff fflogs: 8.6.0 -> 8.12.0 2024-08-03 22:50:35 +00:00
fg/fgqcanvas treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
fi files-cli: 2.13.96 -> 2.13.100 2024-08-01 08:34:28 +00:00
fj/fjo
fl fluent-bit: 3.1.3 -> 3.1.4 2024-08-03 09:20:43 +00:00
fm
fn/fnott
fo Merge pull request #331187 from emilylange/forgejo 2024-08-01 15:07:21 +02:00
fr treewide: remove viric from meta.maintainers [no orphans] 2024-07-28 10:47:12 -03:00
fs
ft/fte
fu
fv
fw/fwupd
fx/fx
fy fyne: init at 2.5.0 2024-08-03 09:35:57 -05:00
fz fzf-make: 0.35.0 -> 0.36.0 2024-08-03 01:20:45 +02:00
g3/g3kb-switch
ga gamescope: 3.14.24 -> 3.14.26 2024-08-04 17:56:33 -05:00
gb
gc
gd treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
ge get-graphql-schema: Fix meta attributes 2024-08-03 22:25:27 -04:00
gf {gfortran{,48,49},gfortran{6..14}}: move to by-name 2024-08-03 17:18:40 -07:00
gg/gg
gh gh-markdown-preview: move to by-name 2024-08-04 13:37:11 +02:00
gi gickup: 0.10.30 -> 0.10.31 2024-08-05 13:39:24 +00:00
gl Merge pull request #330691 from devusb/glasskube 2024-08-03 18:08:20 +02:00
gm gmid: 2.0.5 -> 2.1 2024-08-04 01:39:07 +00:00
gn treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
go gowall: init at 0.1.5 2024-08-05 17:58:54 +10:00
gp
gr Merge pull request #329215 from paveloom/gr-framework 2024-08-04 15:46:42 -04:00
gt
gu
gv/gvisor
gx/gxml
h2/h2
h5/h5utils
h8/h8mail
ha Merge pull request #332315 from r-ryantm/auto-update/halo 2024-08-04 23:00:07 +02:00
hb/hb-honeypot
hc/hclfmt hclfmt: move to by-name 2024-07-31 09:10:33 +02:00
hd
he
hi treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
hj/hjson-go
hn/hn-text
ho
hp/hpp2plantuml
ht treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
hu Merge pull request #331808 from mfrw/mfrw/hugo-0.131.0 2024-08-03 19:00:31 +02:00
hv/hvm
hy hyprutils: 0.2.0 -> 0.2.1 2024-07-31 13:47:11 +00:00
i2/i2p
i3
ia
ic
id ida-free: add openssl dependency to libida64 2024-08-03 18:22:58 -07:00
if/ifrextractor-rs
ig igir: remove TheBrainScrambler as maintainer 2024-07-30 11:02:58 +02:00
ii
ij/ijhttp
im Merge pull request #326385 from Pandapip1/init-nixos-immersed-vr 2024-08-02 11:30:57 +05:30
in Merge pull request #330752 from midirhee12/inter-nerdfont 2024-08-05 16:41:44 +00:00
io
ip treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
ir treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
is treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
it
iv/iverilog
iw/iw
iz/izrss
ja treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
jc/jcli jcli: migrate to by-name 2024-08-02 19:56:42 +04:00
jd/jdt-language-server
je
ji
jj/jj
jn
jo josm: 19128 → 19160 2024-08-03 23:19:29 +02:00
jq/jq-zsh-plugin
jr/jrl-cmakemodules
js
jt/jtdx
ju Merge pull request #332212 from 1adept/update-just 2024-08-04 22:47:28 +02:00
jw/jwasm
ka kakoune: add philiptaron as maintainer to most kakoune-related things 2024-08-01 18:06:40 -07:00
kc
kd
ke keycard-cli: move to by-name 2024-07-31 09:10:31 +02:00
kg/kgeotag
ki
kl
km
kn
ko Merge pull request #330140 from r-ryantm/auto-update/kor 2024-08-04 14:38:58 -04:00
kp/kplex
kr
ks
kt treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
ku Merge pull request #328558 from r-ryantm/auto-update/kube-state-metrics 2024-08-03 18:22:16 +02:00
kv/kvmarwaita
kx
ky kyverno-chainsaw: 0.2.7 -> 0.2.8 2024-08-03 22:41:26 +00:00
la Merge pull request #332089 from r-ryantm/auto-update/lazysql 2024-08-04 09:33:39 -04:00
lb
lc
ld ld64: fix cross-compilation install check phase 2024-07-29 21:24:13 -04:00
le lexical: 0.6.1 -> 0.7.0 2024-07-28 22:53:40 +02:00
lg/lgogdownloader
li Merge pull request #330385 from eljamm/naja 2024-08-04 10:34:31 +02:00
lk/lk-jwt-service
ll Merge pull request #314132 from newAM/cleanup-xtask-binaries 2024-08-03 22:26:17 +02:00
lm lmstudio: 0.2.27 -> 0.2.31 2024-08-03 19:59:12 -05:00
ln/lngen
lo treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
lp treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
ls
lt/ltris
lu
lv/lv_font_conv
lw/lwgrp
lx
lz
m1/m1ddc
m2
ma maa-cli: disable build feature core_installer 2024-08-06 00:45:03 +07:00
mb
mc
md Merge pull request #331176 from pinage404/mdbook-yml-header 2024-07-31 07:50:10 +02:00
me mesonlsp: 4.3.1 -> 4.3.2 2024-08-04 11:33:50 +03:00
mf
mg
mi Merge pull request #331678 from NeverBehave/pkg-micromdm 2024-08-02 11:50:20 +02:00
mk
ml/mlx42
mo Merge pull request #331419 from r-ryantm/auto-update/mongodb-compass 2024-08-03 10:37:05 -04:00
mp
mq
mr/mricron
ms msolve: 0.6.7 -> 0.7.1 2024-08-01 06:36:41 +00:00
mu Merge pull request #332336 from mweinelt/music-assistant-2.1.1 2024-08-05 13:33:37 +02:00
my
n2/n2
n8/n8n
na Merge pull request #330385 from eljamm/naja 2024-08-04 10:34:31 +02:00
nb treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
nc nc4nix: 0-unstable-2024-03-01 -> 0-unstable-2024-08-01 2024-08-01 04:03:10 -07:00
nd/ndstrim
ne Merge pull request #331116 from pbsds/fix-finalattrs-docheck-1722356587 2024-08-01 14:58:44 +02:00
nf
ng ngrok: 3.13.0 -> 3.14.0 2024-08-04 12:48:25 +02:00
nh treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
ni nix-store-gcs-proxy: move to by-name 2024-07-31 09:10:29 +02:00
nl
nm
nn
no Merge pull request #328039 from heywoodlh/nostui-init 2024-08-02 12:48:26 +02:00
np
nr
ns
nt
nu nuclear: 0.6.30 -> 0.6.31 2024-07-28 16:30:14 +03:00
nv
nw nwjs-ffmpeg-prebuilt: init at 0.89.0 2024-07-31 00:27:01 +05:30
nx/nxengine-evo
oa
ob obj-magic: init at unstable-2020-09-20 (#306627) 2024-07-28 22:33:37 +02:00
oc
od treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
oe/oelint-adv
of offat: 0.18.0 -> 0.19.1 2024-07-28 04:44:27 +00:00
oh treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
oi
ok/okolors
ol ollama: update hash for 0.3.1 2024-08-02 09:49:23 -04:00
om
on
oo
op Merge pull request #328769 from r-ryantm/auto-update/openpgp-ca 2024-08-04 19:36:25 +08:00
oq/oqs-provider
or
os
ot
ou
ov ovh-ttyrec: move to by-name 2024-07-31 09:10:32 +02:00
ow
pa Merge pull request #331957 from bobby285271/upd/gnome 2024-08-04 14:20:47 +08:00
pc
pd pdf-sign: 0-unstable-2023-08-08 -> 0-unstable-2024-07-16 2024-08-03 09:50:17 +02:00
pe treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
pf/pfft
pg treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
ph phraze: install man page and shell completions 2024-07-31 16:24:54 -04:00
pi picocrypt: 1.37 -> 1.38 2024-08-05 14:45:31 +00:00
pk
pl Merge pull request #328865 from viraptor/plandex-init 2024-08-03 22:48:42 +08:00
pm
pn
po Merge pull request #331944 from aaronjheng/podman-tui 2024-08-03 16:48:53 +02:00
pp/ppsspp
pq
pr pretix.plugins.zugferd: regenerate locale files 2024-08-05 17:23:31 +02:00
ps
pt
pu
pv
pw
px/pxder
py pyxel: 2.0.13 -> 2.1.6 2024-08-03 10:04:30 +02:00
pz/pzip
qa/qadwaitadecorations
qb/qbittorrent-enhanced
qc/qcm
qd
qg/qgrep
qm/qmplay2
qn/qnial
qo/qodem
qp/qpoases
qr qrtool: 0.11.3 -> 0.11.4 2024-08-04 18:40:35 +00:00
qs
qt/qtractor
qu quba: init at 1.4.0 2024-08-03 09:01:26 +02:00
qw/qwerty-fr
r0/r0vm r0vm: 1.0.3 -> 1.0.5 2024-08-03 22:35:00 +00:00
r1/r10k
ra railway: move to pkgs/by-name 2024-08-03 00:29:12 -04:00
rc
rd/rdwatool
re Merge pull request #328378 from r-ryantm/auto-update/renode-unstable 2024-08-04 19:32:17 +08:00
rh/rHttp
ri river: 0.3.4 -> 0.3.5 2024-07-30 08:02:48 -04:00
rk
rl/rl_json
rm rmpc: init at 0.2.1 2024-07-27 20:28:19 -04:00
rn
ro roddhjav-apparmor-rules: 0-unstable-2024-07-20 -> 0-unstable-2024-08-02 2024-08-05 05:04:03 +00:00
rp/rpcs3 rpcs3: 0.0.32-16659-33851d51a -> 0.0.32-16711-501e9260b 2024-07-28 05:54:55 +00:00
rq
rs
rt
ru Merge pull request #305391 from LeSuisse/rustls-ffi-0.13.0 2024-08-01 22:08:38 +02:00
rw/rwpspread
ry ryujinx: 1.1.1358 -> 1.1.1364 2024-08-03 13:47:34 +00:00
s0/s0ix-selftest-tool
s3
sa sarif-fmt: 0.5.0 -> 0.6.0 2024-08-01 10:10:16 +00:00
sb
sc Merge pull request #332076 from dit7ya/screen-pipe 2024-08-04 18:23:19 +02:00
sd
se serie: fixed rust check failures, added version test 2024-08-03 22:48:43 -04:00
sf/sfwbar
sg/sgfutils
sh shellcheck-sarif: 0.5.0 -> 0.6.0 2024-08-01 10:32:50 +00:00
si Merge pull request #330374 from aorith/silverbullet-084 2024-08-04 22:14:30 +02:00
sk Merge pull request #330575 from r-ryantm/auto-update/skypilot 2024-07-29 15:37:56 -04:00
sl
sm Merge pull request #330378 from Aleksanaa/smile 2024-07-28 10:58:00 +02:00
sn treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
so
sp
sq Merge pull request #329931 from pbsds/init-sqlpkg-1721921854 2024-07-31 23:04:46 +02:00
sr srm-cuarzo: 0.6.3-1 -> 0.7.0-1 2024-08-01 09:43:49 +00:00
ss Merge pull request #329929 from flohessling/fix-sessionmanagerplugin-build 2024-07-29 23:55:44 +02:00
st Merge pull request #331629 from DCsunset/step-cli-completion 2024-08-04 05:51:52 +00:00
su Merge pull request #328867 from r-ryantm/auto-update/supermariowar 2024-08-04 14:43:26 -04:00
sv treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
sw switcheroo: add missing imagemagick dependency 2024-08-02 09:51:55 +02:00
sx
sy Merge pull request #331931 from r-ryantm/auto-update/syshud 2024-08-04 09:25:55 -04:00
t-/t-rex
ta tandem-aligner: move to by-name 2024-08-04 13:37:12 +02:00
tb/tbump
tc tclmagick: init at 1.3.43 2024-08-03 08:10:24 +00:00
td
te terragrunt: 0.63.2 -> 0.66.1 2024-08-04 23:25:48 +00:00
tg
th treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
ti Merge pull request #331689 from GaetanLepage/tinymist 2024-08-04 23:08:23 +02:00
tk
tl tlrc: 1.9.2 -> 1.9.3 2024-07-29 15:35:31 +02:00
tm tmux-cssh: move to by-name 2024-07-31 09:10:33 +02:00
to dotnet: use unpacked nuget packages 2024-07-31 00:47:14 -03:00
tp Merge pull request #326232 from iynaix/tplay-ffprobe-runtime 2024-08-03 21:01:38 +08:00
tr trrntzip: remove TheBrainScrambler as maintainer 2024-07-30 10:59:53 +02:00
ts/tsm-client
tt
tu
tw
tx txtpbfmt: 0-unstable-2024-04-16 -> 0-unstable-2024-06-11 2024-08-02 02:27:25 +00:00
ty typodermic-free-fonts: 2023a -> 2024-04 2024-08-03 07:51:46 +00:00
ub ubuntu-sans-mono: 1.004 -> 1.006 2024-07-28 04:07:34 +00:00
uc
ud
ue
ug
uh/uhttpmock_1_0
ui
um/umpire
un treewide: remove viric from meta.maintainers [no orphans] 2024-07-28 10:47:12 -03:00
up Merge pull request #328863 from katexochen/upower/up 2024-07-31 14:01:42 +02:00
ur/urban-cli
us
ut
uu/uuu
uv/uv
uw uwsm: 0.17.2 -> 0.17.4 2024-07-31 23:08:43 +05:30
ux
va valkey: 7.2.5 -> 7.2.6 2024-08-01 00:29:50 +00:00
vc Merge pull request #329033 from Jayman2000/fix-317553 2024-07-28 21:44:55 +02:00
vd/vdhcoapp
ve verifpal: move to by-name 2024-07-31 09:10:30 +02:00
vg/vgm2x
vi vmagent: 1.102.0 -> 1.102.1 2024-08-02 04:19:56 +00:00
vk/vkd3d
vl
vm
vn
vo volk_2: init at 2.5.0 2024-07-31 13:14:27 +03:00
vp vpsfree-client: move to by-name 2024-07-31 09:10:28 +02:00
vs/vscode-js-debug
vu
vv/vvvvvv treewide: remove unused with statements from maintainer lists 2024-07-29 10:06:20 +08:00
vw/vwsfriend vwsfriend: 0.24.4 -> 0.24.5 2024-08-05 05:36:47 +00:00
vz/vzic
wa wayneko: init at 0-unstable-2024-03-29 2024-08-02 19:26:55 +05:30
wb
wc/wcurl
we werf: 2.8.0 -> 2.9.3 2024-08-02 10:37:42 +00:00
wf/wf-touch
wg/wg-access-server
wh whistle: 2.9.78 -> 2.9.80 2024-07-30 03:20:48 +00:00
wi wit-bindgen: 0.28.0 -> 0.29.0 2024-08-03 03:10:27 +00:00
wl
wo
wp
wr/wrangler
ws
wt wttrbar: 0.10.5 -> 0.10.6 2024-08-05 04:34:38 +00:00
wv
wx/wxc
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa
xc
xd
xe xeve: Fix Darwin build 2024-07-30 00:17:15 +02:00
xf/xfs-undelete
xh/xhosts
xi xilinx-bootgen: move to pkgs/by-name 2024-07-29 08:53:06 -07:00
xl
xm
xn/xnlinkfinder
xo
xp
xr
xs
xu/xunit-viewer
xv/xviewer
xw
ya yazi, yazi-unwrapped: 0.2.5 -> 0.3.0 2024-08-01 13:18:42 -04:00
yc/ycmd
yd/ydotool
ye
yg yggstack: init 0-unstable-2024-07-26 2024-08-01 08:20:44 +00:00
yj/yj
yo
ys/ysfx
yt treewide: Pass self when overriding Python 2024-08-03 12:18:56 +12:00
yu
za
zb/zbus-xmlgen
zc/zcfan
ze zed-editor: 0.146.3 -> 0.146.4 2024-08-01 22:13:09 +02:00
zf/zfind zfind: 0.4.4 -> 0.4.5 2024-08-04 03:22:33 +00:00
zi
zl/zluda
zm/zmkBATx
zo zotero-beta: 7.0.0-83 -> 7.0.0-111 2024-08-03 18:48:00 +01:00
zp
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

$ ./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;
}